Camera system

ABSTRACT

A camera system comprises a brightness measuring circuit, a exposure line choosing circuit, an operable switch, a film driver and a film driving mode selector. 
     The brightness measuring circuit measures brightness of a photographic scene to send a brightness value. The exposure line choosing circuit chooses one of a plurality of exposure lines in which each lines selects a combination of an aperture value and a shutter speed value at each brightness value. The film driver drives a film in either of a first mode in which the film is wound only one frame in response to the operation of the operable switch and a second mode is which the film is wound frame by frame continuously as long as the operable member is operated. The film driving mode selector selects one of the modes in accordance with the exposure line chosen by the choosing circuit. 
     In the camera system, a photographer may only select the exposure mode in accordance with his intention and purpose in photography, and then the film driving mode corresponding to the intention and purpose is automatically selected.

This application is a continuation of Ser. No. 352,495, filed May 16, 1989.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a camera system, and more specifically, to a camera system provided with a plurality of selectable exposure lines or exposure modes.

2. Description of the Prior Art

U.S. Pat. No. 4,609,274 discloses a camera system in which AF (autofocus) mode is changed automatically by the camera in response to the exposure mode selected freely by a photographer. Fore example, in the case where shutter priority mode is selected by the photographer, the AF mode becomes servo mode, while, in the case of selecting aperture priority mode, it becomes one-shot mode.

And, another camera system is disclosed in U.S. Pat. No. 4,534,639 in which light measuring mode is likewise changed over automatically by the camera in response to the exposure mode selected freely by a photographer. For example, when either normal mode or panning mode is selected, light measurement is performed on a total light plane, while, locally weighted light measurement is performed when either shallow focus mode or stop motion mode is selected.

However, in both of the above-described prior art references, there is no disclosure regarding changeover of film driving mode according to the selected exposure mode. In addition, it is not disclosed that both the light measuring mode and the AF mode can be simultaneously changed over.

SUMMARY OF THE INVENTION

An object of the present invention is to provide a camera system in which either film driving mode or both light measuring mode and AF mode can be changed over in accordance with selection of exposure mode.

In a camera system according to the present invention, a photographer may only select the exposure mode in accordance with his intention and purpose in photography, and then the film driving mode corresponding to the intention and purpose is automatically selected, or both the light measuring mode and the AF mode are automatically selected.

Especially, another object of the present invention is to provide a camera system which is suitable for macro-photography with selecting both fir AF mode and fit light measuring mode.

In accordance with one feature of the present invention, the camera system comprises:

means for measuring brightness of a photographic scene to send a brightness value;

a plurality of exposure lines in which each exposure line selects a combination of an aperture value and a shutter speed value at each brightness value;

means for choosing one of the exposure lines;

an operable member;

means for driving a film in either of a first film driving mode in which the film is wound only one frame in response to the operation of the operable member and a second film driving mode in which the film is wound frame by frame continuously as long as the operable member is operated; and

first selecting means for selecting one film driving mode from the first and second film driving modes in accordance with the exposure line chosen by the choosing means.

In accordance with another feature of the present invention, the camera system comprises:

first measuring means for measuring brightness value with respect to a first portion of a photographic scene to sending a first signal;

second measuring means for measuring brightness value with respect to a second portion of the photographic scene to send a second signal;

means for calculating a brightness value in either of a first light measuring mode in which the brightness is calculated with using both the first signal and a second light measuring mode in which the brightness is calculated with using both the first signal and the second signal;

means for driving the photographic lens based on the focus condition detected by the detecting means in either of a first lens driving mode in which the photographic lens driving is inhibited after said detecting means once detects infocus condition of the photographic lens and a second lens driving mode in which the operation of the lens driving means is continued even if the detecting means detects infocus condition of the photographic lens;

a plurality of exposure lines in which each exposure line selects a combination of an aperture value and a shutter speed value at each brightness value;

means for choosing one of the exposure lines;

first selecting means for selecting one measuring mode from the first and second light measuring modes;

second selecting means for selecting one lens driving mode from the first and second lens driving modes; and

means for controlling both the first and second selecting means in accordance with the exposure line chosen by the choosing means.

BRIEF DESCRIPTION OF THE DRAWINGS

These and other objects and features of the present invention will become apparent from the following description taken in conjunction with preferred embodiment thereof with reference to the accompanying drawings, throughout which like parts are designated by like reference numerals, and in which:

FIG. 1 is a circuit block diagram of a whole camera system in accordance with the present invention.

FIG. 2(a) to 2(f) are views of displaying forms in a display part of the camera.

FIG. 3 is a flowchart showing a routine of resetting of the camera.

FIG. 4(a) is a circuit diagram of a lens circuit, and FIG. 4(b) is a side view of an interchangeable lens of the camera.

FIGS. 5(a) to 5(h) are flowcharts showing routines relating to data communications between the camera and IC cards attached thereto.

FIG. 6 is a flowchart showing a routine performing photometry, AF, display, exposure control and the like.

FIG. 7 is a flowchart showing a routine performing AF mode determination as shown in FIG. 6 and focus lock.

FIG. 8(a) is a circuit diagram of an electric flash apparatus, FIG. 8(b) is a view for explaining the display thereof, and FIGS. 8(c) and 8(d) are flowcharts showing routines of interrupts relating to the electric flash apparatus.

FIG. 9 is a circuit diagram of an interface of the electric flash apparatus.

FIG. 10 is a flowchart showing a routine of lens data input.

FIGS. 11(a) and 11(b) are flowcharts showing routines of flash data input and flash data output respectively.

FIG. 12(a) is a flowchart showing an AF routine, and FIGS. 12(b) to 12(h) are flowcharts relating thereto.

FIG. 13 is a view showing an example of display in a finder.

FIG. 14 is a view showing distance measuring ranges and photometric ranges in a photographing image plane.

FIG. 15 is a flowchart showing a routine of data setting.

FIG. 16 is a flowchart showing a routine of exposure mode change.

FIG. 17 is a flowchart showing a routine of exposure mode selection.

FIG. 18 is a flowchart showing a routine of exposure adjustment.

FIG. 19 is a flowchart showing a self routine.

FIG. 20 is a flowchart showing a routine of preparation of a photometric data.

FIG. 21 is a flowchart showing a routine of AE lock.

FIGS. 22(a) and 22(b) are flowcharts showing a routine setting a diaphragm aperture value and a shutter speed.

FIG. 23 is a flowchart showing a routine of exposure operation, and FIGS. 24(a) to 24(c), FIG. 25, FIG. 26 and FIG. 27 are flowcharts showing routines of the respective modes therein.

FIG. 28 is a flowchart showing a routine of control by the IC card.

FIG. 29(a) is a flowchart showing a routine of display, FIG. 29(b) is a flowchart showing a routine of interrupt relating thereto, FIGS. 29(c) to 29(e) are views showing examples of display, and FIG. 29(f) is a flowchart showing a routine of mode setting in the routine shown in FIG. 29(a).

FIG. 30(a) is a flowchart showing a routine of exposure control, FIGS. 30(b) and 30(c) are flowcharts showing routines of lens drive therein, and FIG. 30(d) is a flowchart showing a routine of shutter speed control in the routine shown in FIG. 30(a).

FIGS. 31(a) and 31(b) are flowcharts showing routines relating to one-frame winding-up film.

FIG. 32 is a flowchart showing a routine of interrupt relating to closing a rear lid.

FIG. 33, FIG. 34 and FIGS. 35(a) to 35(c) are flowcharts showing operation flows of a custom card, FIG. 36 is a view showing mode setting thereof, and FIG. 37 is a view showing an example of display.

FIG. 38, FIG. 39 and FIGS. 40(a) to 40(d) are flowcharts showing operation flows of a data memory card, FIGS. 41(a) to 41(c) are views showing examples of display, and FIG. 41(d) is an explanatory view thereof.

FIG. 42, FIG. 43, FIGS. 44(a) to 44(c) and FIG. 45 are flowcharts showing operation flows of a sports card, FIG. 46 is a view relating to setting of an exposure value thereof, and FIG. 47 is a view showing an example of display.

FIG. 48, FIG. 49, FIGS. 50(a) to 50(c) and FIGS. 51(a) to 51(c) are flowcharts showing operation flows of an auto depth card, FIG. 53, FIG. 54 and FIG. 55 are explanatory views thereof, and FIG. 52 is a view showing an example of display.

FIG. 56, FIG. 57, FIGS. 58(a) to 58(c) and FIG. 60 are flowcharts showing operation flows of a bracket card, FIG. 59 is a view showing an example of display, and FIG. 61 is a view showing examples of display relating to card data setting.

FIG. 62, FIG. 63 and FIGS. 64(a) to 64(c) are flowcharts showing operation flows of a close-up card, FIG. 65 is a view showing an example of display, FIGS. 66(a) to 66(c) are flowcharts showing a routine of calculation, and FIG. 67 and FIG. 68 are explanatory views thereof.

FIG. 69 FIG. 70 and FIGS. 71(a) to 71(c) are flowcharts showing operation flows of an auto shift card, FIG. 72 is a view showing an example of display, FIGS. 73(a) and 73(b) are flowcharts showing a routine of calculation, and FIG. 74 and FIG. 75 are explanatory views thereof.

FIG. 76, FIG. 77 and FIGS. 78(a) to 78(c) are flowcharts showing operation flows of a H/S card, FIG. 79 is a view showing an example of display, FIGS. 80(a) and 80(b) are flowcharts showing a routine of calculation, and FIG. 81 is an explanatory view relating to card data setting.

FIG. 82, FIG. 83 and FIGS. 84(a) to 84(c) are flowcharts showing operation flows of a portrait card, FIG. 85 is a view showing an example of display, FIGS. 86(a) and 86(b) are flowcharts showing a routine of calculation, and FIG. 87, FIG. 88 and FIG. 89 are explanatory views thereof.

FIG. 90, FIG. 91, FIGS. 92(a) to 92(c) are flowcharts showing operation flows of a defocusing card, FIG. 93 and FIG. 94 are flowcharts showing a routine of calculation, FIG. 95 and FIG. 96 are explanatory views thereof, and FIG. 97 is a view showing an example of display.

FIG. 98 is a view showing an example of an element of display consisting of 7 segments.

FIG. 99 is a perspective view showing an IC card attaching structure of the camera body.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

Hereinafter, description is made on an embodiment constructed in accordance with the present invention in reference to drawings. In the following description, chiefly the whole system of controlling a camera system by means of IC cards is described, wherein features of the present invention are employed.

FIG. 1 is a circuit block diagram of a camera system of this embodiment. In this FIG. 1, a micro-computer μC, which is provided in a camera body CB shown in FIG. 99, performs control and various calculations of the camera. The micro-computer μC comprises an Electrically Erasable Programable Read Only Memory (so-called EEPROM or E² PROM).

A focus condition detecting circuit AFct detects the focus condition, which includes a Charge Coupled Device (hereinafter referred to as CCD), an integration control circuit for controlling integration of charge produced in CCD and an analog-to-digital converting circuit. It receives information of subjects from three distance measuring areas as described later, and converts this information from an analog value to digital value to output it to the micro-computer μC. Hereinafter "from analog value to digital value" is referred to as A-D.

An auxiliary light emitting device LD₁ emits light for assisting the focusing operation in the dark.

A light measuring circuit LM performs measurement of light at four areas as described later, and A-D converts the measured light values to give them to the micro-computer μC as luminance information. A display controlling circuit DISPC receives display data and a display controlling signal from the micro-computer μC and causes various display in a display part DISP_(I) on the upper surface of the camera body and in a display part DISP_(II) in a view-finder to perform predetermined displays.

FIG. 99 shows an arrangement in which an IC card CD is attachable to the camera body CB through a cardholder HP. The IC card is electrically connected to the camera body CB when it is attached to the camera body CB.

In this embodiment, IC cards include ten cards consisting of four kinds: a custom card by which the mode of the cameras can be selected or changed, four program cards by which controls (AE mode, automatic focusing mode and so on) of various functions of the camera are automatically determined in response to photographing circumstances, four function cards by which particular functions are added and a memory card by which photographing data is memorized. Hereinafter, automatic focusing is referred to as AS. Detailed description for these cards is made later. An interface IF is installed between the micro-computer μC of the camera body and an electric flash apparatus ST. A flash light adjusting circuit STC receives the flash light reflected by subjects which comes through an interchangeable lens as taking lens, and stops the flashlight emission when exposure quantity reaches a preset value. A lens circuit LE is installed in an interchangeable lens, which outputs information peculiar to the interchangeable lens to the micro-computer μC of the camera body. A lens drive controlling circuit LECN drives the lens based on information about the detected focus condition. A converter ENC detects the rotation of a motor driving the interchangeable lens, and outputs pulses to the micro-computer μC every time the motor is rotated by a predetermined angle. The micro-computer μC counts these pulses, detects the quantity of move-out (the number CT of move-out pulses) of lens from the position for ∞, and thereby detects the subject distance.

A shutter controlling circuit TV_(CT) controls a shutter based on a control signal from the micro-computer μC. A diaphragm aperture controlling circuit AV_(CT) controls the diaphragm aperture based on a control signal from the micro-computer μC. A motor controlling circuit MD controls winding and rewinding of a film based on a control signal from the micro-computer μC. A buzzer BZ is provided for raising an alarm when the shutter speed becomes too slow to cause blurring. Symbol E designates a battery for a power supply, and symbol DC/DC designates a DC/DC converter for making a voltage V_(DD) supplied to the micro-computer μC steady. Diodes D₁ to D₄ supply a lower voltage than the voltage V_(DD) to the micro-computer μC to consume less power when the DC/DC converter DC/DC is in the OFF state. The hardware of the micro-computer μC of the camera body can be operated even by this low voltage.

Symbols R_(R) and C_(R) designate a resistor and a condenser respectively for resetting the micro-computer μC when the battery is attached. Symbol Tr₁ designates a transistor for controlling a power supply to the above-described circuits.

Next, description is made for switches. A battery attachment switch S_(RE) is turned to OFF when a battery is attached. In accordance with turn OFF of the switch S_(RE), a signal changing from the "L" level to the "H" level is applied to a terminal RE of the micro-computer μC, and thereby the micro-computer μC is triggered to execute a resetting routine as described later. An exposure mode changing switch S_(EM) is a push-type switch which is normally opened. The exposure mode is changed by operating both this switch S_(EM) and an up switch S_(UP) or both the switch S_(EM) and a down switch S_(DN) as described later. A function changing switch S_(FUN) is a push-type switch which is normally opened. A change of function (for example, change-over between continuous-AF and one-shot AF) is performed by operating both this switch S_(FUN), and the up switch S_(UP) or the down switch S_(DN). Wherein, the continuous-AF means that focus condition is kept in infocus condition, so that the exposure is carried out with infocus condition continuously even after infocus condition is obtained one time. And, one-shot AF means that lens position is kept after an infocus condition is detected one time. A card switch S_(CD) is a push-type switch which is normally opened. This switch S_(CD) is operated to change-over enable/disable of the card function when the card is attached to the camera body, or is used at the time of changing data setting in the cards (detailed description is made later). A card data setting switch S_(CDS) is operated at the time of data setting or mode changing when a card is attached to the camera body. A switch S₁ is a switch for performing preparatory operations such as photometry and AF operation required for photographing. This switch S₁ is turned to ON by depressing a first stroke of an operation button. Out of the above-mentioned switches S_(EM), S_(FUN), S_(CD), S_(CDS) and S₁, when one switch is turned to ON, the micro-computer μC executes an interrupt flow INT₁ as described later. A main switch S_(M) is a switch for enabling the operation of the camera, and by means of the turn-on or turn-off of this switch S_(M), the micro-computer μC executes an interrupt flow INT₂ as described later. A mirror up switch S_(MUP) is turned to ON with completion of mirror-up control, and turned to OFF when shutter mechanism is charged and mirror-down control is performed. A shutter release switch S₂ is operated when a photographing operation is performed, and it is turned to ON by depressing a second stroke (deeper than the first stroke) of the above-mentioned operation button. A one-frame switch S_(WD) is turned to ON by winding up one frame of a film. An AE locking switch S_(AEL) for performing AE lock (exposure value lock) is a normally-opened push-type switch. A focus condition adjusting mode changing-over switch S_(AF/M) performs change-over AF and manual focus condition.

A normally-opened change data selecting switch S_(SE) is operated to select data to be changed. A self mode setting switch S_(SELF) is a normally-opened push-type switch, and it is operated when a self photographing operation is performed. The self photographing operation starts by setting of the self mode and turn-on of the release switch S₂. A diaphragm aperture value changing switch S_(AV) changes a diaphragm aperture value by operating this switch S_(AV) with the up switch S_(UP) or the down switch S_(DN) when the exposure mode is a M mode. A film detecting switch S_(FLM) detects whether or not a film has been loaded to a predetermined place in the camera body. This switch S_(FLM) is arranged on the film rail surface in the vicinity of a spool chamber, being turned to OFF when the film is positioned at this place.

A rear lid close detecting switch S_(RC) is turned to ON when the rear lid is closed and is turned to OFF when opened, and by turning this switch to ON, the micro-computer μC executes an interrupting routine as described later. A rewinding switch S_(RW) for starting rewinding of the film is turned to ON when it is operated, and the interrupting routine as described later is executed, and when the rear lid is opened, it is turned to OFF. An IC card attachment switch S_(CR) is turned to OFF when an IC card CD is attached to the camera body. A micro-computer μC₂ of the IC card CD is reset when the switch S_(CR) is turned to OFF. A so-called X contact X is turned to ON after completing first-curtain running of the shutter, and is turned to OFF on charging the shutter.

A normally-opened up switch S_(UP) performs change-over to another mode or addition of data to be changed, and a normally-opened down switch S_(DN) performs change-over or subtraction of the data. When the diaphragm aperture value is changed in the M mode, the up/down function of the diaphragm aperture value is carried out by turn-on of the diaphragm aperture value changing switch S_(AV) and operation of the up switch S_(UP) /the down switch S_(DN) respectively, and the up/down function of the shutter speed is carried out by turn-off of the switch S_(AV) and operation of the up switch S_(UP) /the down switch S_(DN) respectively. An operation of the up switch S_(UP) or the down switch S_(DN) is detected by that a terminal IP₂₀ or a terminal IP₂₁ has become the "L" level, respectively. In FIG. 1, a line WI connected in common with the above-mentioned respective switches is connected to a ground potential point GND.

Table 1 shows the above described respective switches and the functions thereof in the lump.

Next, prior to making description for operation of the camera system of the present embodiment, description is made for four kinds of IC cards used here.

(I) Custom card

This IC card proposes to provide a camera responding to the intention by selecting the functions necessary for the photographer (or the functions considered unnecessary are deleted) from among the many functions (controllable functions) possessed by the camera or by taking the alternative of the functions. Also, since the unnecessary functions can be omitted by this feature, the camera has a simplified and good operability for the photographer. Next, description is made for this card with the display performed relating thereto.

First, selections of the functions of this IC card include,

(i) selection of the exposure modes, (ii) selection between two functions, (iii) selection due to operation of a switch on the lens side, and the like.

First, the exposure modes relating to the selection of the exposure modes in the above-mentioned item (i) include,

(b-1) Program mode (P mode),

(b-2) Diaphragm aperture priority mode (A mode),

(b-3) Manual mode (M mode), and

(b-4) Shutter priority mode (S mode),

and the P mode is incorporated without fail as a base mode, and combinations of the remaining three modes (A, M and S modes) can be selected. Accordingly, there are eight combinations as follows:

    ______________________________________                                         selected No.        content(s)                                                 ______________________________________                                         0                   P     A     M   S                                          1                   P           M   S                                          2                   P     A         S                                          3                   P     A     M                                              4                   P     A                                                    5                   P               S                                          6                   P           M                                              7                   P                                                          ______________________________________                                    

Then, as to the display, among four modes displayed in the middle portion on display part DISP_(I) shown in FIG. 2(a), a display of the selected combination is performed, for example, as shown in FIG. 2(b) at mode setting, and a display of one selected exposure mode (FIG. 2(c) A mode selection) is performed at photographing. In the figures, dots around characters or numerical values represent blinking displays. A detailed description of the displays is made later.

Next, as to selection between two functions in the above-mentioned item (ii), operation or non-operation of a blurring warning buzzer exists. Among the displays as shown in FIG. 2(d), Numeral "3" shows the operation or non-operation of a blurring warning buzzer, and Numeral "1" on the film counter position shows operation of the buzzer, while non-operation of the buzzer is shown by numeral "2".

The selection due to operation of the switch on the lens side in the above-mentioned item (iii) is directed to which AF modes should be selected when the switch (described later) installed on the lens side is operated, and the modes include:

○1 first, when the switch is not operated,

(E-1) One-shot AF by multi-spot measurement for AF

○2 when the switch is operated,

(E-2) Focus lock

(E-3) Spot AF

(E-4) Continuous AF

and Numeral "3" of display "CuSt-3" as shown in FIG. 2(d) turns to "2", and further Numeral "1" displayed in a blinking manner turns to "1" to "3" at mode setting. Numerals "1" to "3" displayed blinkingly correspond to the above-mentioned E-2 to E-4 respectively. The selected Numbers and the functions thereof are shown in Table 2.

The above-mentioned modes (i) to (iii) are selected in sequence by turning-on the card switch S_(CD) at the mode setting, and the functions in respective modes is selected by operating the up switch S_(UP) or the down switch S_(DN).

The above-mentioned modes (i) to (iii) and the functions thereof are made settable cyclically.

(II) Program card

The program card is a card made for the purpose of photographing suitably for the photographing scene by determining the AF modes (Continuous/One-shot, multi-spot/spot), the shutter speed and the diaphragm aperture of AE mode (exposure line) in response to the condition of the set photographing scene or subjects (detailed description is made later).

(III) Function cards

(3-1) H/S card (highlight/shadow card)

This card is for photographing a bright subject as bright and a dark subject as dark with over-adjustment of the exposure value obtained by the camera by a constant value (+2.0)(highlight) and under-adjustment by a constant value (-2.0)(shadow) respectively. And this adjustment is performed by attaching this card (one of H/S selections) and operating the AE locking switch.

(3-2) AE bracket card

This card is for changing an exposure value from the correct exposure value obtained in the camera body to the "over" side or the "under" side by a predetermined step respectively (detailed description is made later).

(3-3) Autoshift card

This card changes combination of the diaphragm aperture value and the shutter speed of the obtained exposure value, and thereby changes the effect of photographing (depth or speed).

(3-4) Defocusing card

This card drives the focusing lens during exposure, and thereby gives an effect of soft focus or an effect of zooming during exposure.

(IV) Data memory card

This card memorizes data of photographing as follows;

Film counter

Control diaphragm aperture value

Control shutter speed

Exposure adjusting value

AE mode

Lens information (focal length and a smallest F-value)

Film speed

These memorized data can be seen through a liquid crystal display DISP_(I) on the camera body (detailed description is made later).

Next, description is made for operation of the camera based on flowcharts of the micro-computer μC as shown in FIG. 3 and the subsequent figures and detailed description is made for each part of the flowcharts as required.

DESCRIPTION FOR THE OPERATION

When a battery E is attached to the camera body, the battery attachment switch S_(RE) is turned to OFF, a signal changing from the "L" level to the "H" level is inputted to a terminal RE of the micro-computer, and the DC/DC converter is turned to ON (terminal PWO="H" level). A clock oscillator, which is provided in the micro-computer μC, is enabled in response to the entry of the above-mentioned signal, and a clock signal thereof is sent also to the IC card CD from the micro-computer μC through a terminal φ. When interrupts are executed, turn-on of the DC/DC converter and start of clock oscillation are automatically performed in a circuit. Then, micro-computer μC executes a routine RESET as shown in FIG. 3.

First, the micro-computer μC inhibits all interrupts to this flow (#100), and resets all output terminals thereof to the "L" level except the terminal PWO for the DC/DC converter control (#105). Also, it resets all of the flags (refer to Table 8, described later) in a random access memory (hereinafter referred to RAM) and RAMs (registers) (#110). Thereby, the exposure mode is set to the P mode, the spot (S)/multi-spot AF (A) is set to the multi-spot AF mode (A), and the one-shot (S) /continuous shot (C) is set to the one-shot mode (S), and the mode not performing exposure adjustment and the other modes are set.

In the subsequent step #115, the micro-computer μC reads the contents of the quantity N₁ of film frames and a film speed S_(V) stored in the E² PROM, and transfers them into the predetermined storage portions of the RAM. Thereafter, it is judged whether or not the main switch S_(M) is in the ON state (#120). If the main switch S_(M) is in the OFF state (IP₆ ="H"), processing proceeds to step #125, and the transistor Tr₁ is turned to OFF (PW="L"), and thereafter a serial data communication (VI) is performed with a card.

Here, brief description is made for the operation of serial communication. First, a transfer start signal is sent to a target to which data is transferred (in the case of cards, CSCD="H"), and the serial clock signal for transfer of data is outputted from a terminal SCK of the camera body in response to an instruction of serial communication. In sychronism with a rise of this clock signal, the output side outputs data by one bit, and in synchronism with a fall thereof, the input side inputs the data by one bit. By repeating this operation eight times, data transfer at a time is completed. By performing this data transfer as required, the predetermined data is obtained. Data communications with the lens circuit LE, the display controlling circuit DISPC, and the electric flash apparatus are similarly performed.

Here, description is made for the data communication (VI) with the above-mentioned IC card in reference to FIG. 5(f). In this communication, first, a terminal CSCD is turned to "H" to request communication (#270). Next, data showing the data communication (VI) is set, and the camera body is set to the output side, and data communication of the data showing the communication (VI) is performed (#272-#277).

On completing this, next, the camera body is set to the input side, and setting of data of the IC card enters a wait state (#280, #282). Data communication is performed (#285), and data is inputted, and thereafter the terminal CSCD is set to "L" to show completion of the communication (#286). From the data thus inputted, judgement is made on whether or not the micro-computer μC of the camera body is allowed to sleep (halt), and this is because clock impulses and a voltage V_(DD) required for operation of the IC card CD are sent from the micro-computer μC of the camera body to the IC card CD, and therefore if the sending of these clock impulses and voltage is stopped during the operation of the IC card (the generation of clock pulse is stopped and the voltage decreases of the camera sleeps), the micro-computer μC₂ of the IC card cannot execute the predetermined signal processing (write control to the E² PROM), and therefore this should be prevented beforehand.

Reverting to FIG. 3, in step #135, the above-described judgement, that is, the judgement of whether or not the micro-computer μC of the camera body is allowed to sleep is made by the inputted data, and here, when the micro-computer μC is allowed to sleep, all interrupts are permitted in step #140 and it sleeps. By this sleep, halt of the clock pulses and turn-off of DC-DC converter are performed in a hardware manner. When no sleep can be allowed, processing waits for 30 msec in step #145, and thereafter returns to step #130, and repeats similiar processing.

Next, description is made for an interrupt INT₂ by means of turning on or off the main switch S_(M).

First, in step #147, judgement is made of whether or not an interrupt is made by turning on the main switch S_(M), and when the interrupt is not made by turn-on of the main switch S_(M) (IP₆ ="H"), the interrupt INT₁ is inhibited (#240), display data (at that time, display of putting out all lights) is set (#245), data communication is performed with a micro-computer μC₄ for display of the display controlling circuit DISPC, and processing proceeds to step #125, performing processing similiar to the above-described processing. The micro-computer μC₄ for display inputs data of putting out all light by the data communication, and thereby all data are put out (refer to FIG. 2(e)). In addition, description for control of the micro-computer μC₄ for display is made later.

On the other hand, in step #147, when the main switch S_(M) is turned to ON, only the interrupt INT₁ is permitted in step #150, and in the next step #155, display data is set (display of standby), and data communication is performed with the micro-computer for display in step #160. By this data communication, the micro-computer for display performs a display as shown in FIG. 2(f). In this FIG. 2(f), the P mode is selected for the AE mode, and non-adjustment of exposure, one-shot mode, multi-spot distance measurement, card function ON and a quantity of film frames 5 are shown respectively.

Next, in step #170, micro-computer μC of the camera body judges whether or not a terminal IP₅ is put at the "L" level (any one of the switches S_(EM), S_(FUN), S_(CD), S_(CDS), and S₁ is in ON state), and if the terminal is not put at the "L" level, processing proceeds to step #125, performing control of the sleep as described above. If it is put at the "L" level, processing proceeds to step #180, sets a flag OPF for holding power for five seconds, and executes a subroutine as described later (#190). Next, it is judged again whether or not the terminal IP₅ is put at the "L" level (#200). If it is put at the "L" level, a card request signal DSPREQ is set to 0 in step #203, and thereafter processing proceeds to step #180, and repeats steps #180 and #190. If it is not put at the "L" level (that is, if no one of the above-mentioned five switches has been operated), processing proceeds to step #205, and judges whether or not the flag OPF for holding power has been set, and if it has been set, resets and starts a timer for holding power in step #215, and in the following step #220, resets the flag OPF, and proceeds to step #235. When the flag OPF for holding power has not been set, processing also proceeds to step #235, and judges whether or not a request signal of repeating loop S₁ ON has been sent from the IC card CD, and when the signal has been sent, returns to step #190. This is because, where data is under setting or the like, when display by the micro-computer for display is controlled based on data from the IC card, if five seconds of power hold of the camera body side expires, the display changes to a display of standby arbitrarily regardless of whether the user wants to see the display, and therefore a display change to a display inconvenient for use should be inhibited. Where this request for repeating has not been sent, processing proceeds to step #237 and judges whether or not five seconds have elapsed from the start of the above-mentioned timer.

If five seconds have elapsed, processing proceeds to step #150, and changes from the display of standby to the sleep control, and on the other hand, if five seconds have not elapsed, processing repeats the flow from S₁ ON in step #190.

When the IC card CD is attached to the camera body, the signal DSPREQ of requesting display by the card is set in step #172, and thereafter processing proceeds to the flow of step #180 and the subsequent steps.

Next, description is made for a routine S₁ ON of controlling photometry, AF and display according to FIG. 6. First, the interrupt INT₁ applied to this flow is inhibited (#400). This is because, if the interrupt INT₁ as shown in FIG. 3 is applied on half way through this control, the controlling operation will not proceed after this. Next, in step #405, a terminal PW of the micro-computer μC is turned to the "H" level, and by applying the voltage of positive level to the base of the PNP-type transistor Tr₁ through an inverter IN₁, the transistor Tr₁ is turned on, and power is supplied to a photometric circuit LM, an AF circuit AF_(CT) and the like. Subsequently, information peculiar to the interchangeable lens is inputted from a lens circuit LE (#410). This is explained according to FIG. 10. First, a terminal CSLE is turned to the "H" level (#600), and information is inputted from the lens by performing serial communications by a required number of times (#605). A circuit in the lens is shown in FIG. 4(a) to be explained. Clock pulses inputted from the camera body are counted by a decoder 2 and an address signal is produced. At this time, if a predetermined address is produced, the address identifies lens data changing according to zooming, and therefore the focal length is detected by an encoder 3 detecting the focal length, and the address is changed by an address circuit 5 according to the above-mentioned focal length, and a predetermined data is outputted to the camera body. The switch S_(Q) is a lens side switch (refer to FIG. 4(b)) installed on an interchangeable lens 10, and change of the address is performed to change data also by the switch S_(Q).

The address thus set is outputted to a ROM 6. The ROM 6 outputs data based on the specified address. This output is converted into a serial signal by a parallel-serial converting circuit 7, being given to the camera body.

Next, description is made for lens information. As shown on Table 11, lens information sent to the camera body includes the signal of lens attachment, the open diaphragm aperture value Avo of the lens, the maximum diaphragm aperture value Avmax of the lens, the maximum quantity of moving-out close to ∞ of the lens, information of focal length, the quantity of lens drive/the quantity of defocus conversion coefficient K, ON/OFF of the above-mentioned lens-side switch S_(Q), the signal LOK showing whether or not the lens is allowed to be driven and the like, and these are inputted to an address of RAM in the camera body as shown on the table. When the camera is put in the state that AF cannot be performed, responding to this state, this signal LOK changes from "1" to "0". The camera body inputs this signal and stops the motor.

On the other hand, the lens 10 has a configuration of ROM and address as shown on Table 9. Memory areas (A) and (B) store two similar data differing only in data relating to S_(Q) and relating to LOK in the same ROM, respectively.

Conventionally, the memory portion of ROM is divided into a plurality of areas, and each portion is assigned to the divided number of lenses, thereby the work to make the ROM is simplified. If new data is required to be added to the portion (for example, in the case where data of 06_(H), 08_(H), 09_(H) on Table 10 are added with respect to the other data), the addresses of all areas of the ROM should be changed, as the portion has no extra memory space.

In the present embodiment, two memory portions are selectable to use for one lens: one memory portion (A) is the same as conventional memory portion and the other portion (B) includes different data from those of portion (A). Thereby it is not necessary to change the address, though the number of lenses which are assigned the memory portion is decreased. If each memory portion has extra space for adding data, it is also possible to add new data into an assigned memory portion as data of 08_(H) and 09_(H) on Table 10 and to select new data as requested. In the ROM as shown on Table 9, when the lens-side switch S_(Q) is in the OFF state, data of the memory area (A) are sent, and conversely, when in the ON state, data of the memory area (B) (b_(o) =0, AF motor stop) are sent. Among the address data, (X X X) shows address data to be changed depending on the quantity of move-out of the zoom lens or focusing lens, and they are inputted from the encoder 3.

The above-mentioned signal LOK in the lens shows whether or not the lens can be adjusted for focus by the motor installed in the camera body. The camera body inhibits AF operation (lens drive) when the signal LOK is 0, and performs only focus condition detecting operation. For example, with the macro zoom lens attached, when the set mode is the macro mode, data of the memory area (B) are sent to inhibit AF operation, and when the mode is not the macro mode, data of the memory area (A) are sent to permit AF operation.

As to control of the camera body side, judgment is made of whether or not AF inhibit is to be performed when the data of the above-mentioned lens data has been read, and control of presence or absence of AF inhibit has only to be performed, and therefore description thereon in reference to drawings is omitted.

On completing input of the lens information as described above, processing turns the terminal CSLE to the "L" level (#610) and returns (FIG. 10).

Reverting to FIG. 6, subsequently, the micro-computer μC performs the data communication (I) with the card in step #413. In this data communication (I), data showing the state of switches, data of the AE mode and control data are sent from the camera body to the IC card.

Table 6 shows this content (refer to the column of the communication (I)). FIG. 5(a) shows the data communication (I). The method of communication is nearly the same as that of the data communication (VI) in FIG. 5(f), and differs in that data showing the communication (I) is set and outputted, data communication SIO thereafter is performed three times, and the camera body is the output side also in this communication. In addition, description for use of these data is made later.

Next, the micro-computer μC inputs information of the electric flash apparatus ST from the electric flash apparatus ST (#415). The information includes two: a guide number GN showing the quantity of light emission and ON/OFF of the switch. Here, description is made for the electric flash apparatus used in this embodiment.

FIG. 8(a) shows a circuit block diagram of the electric flash apparatus. Symbol D₁ designates a condenser for preventing back charging, symbol C₁ designates a back-up condenser having a large capacity, symbol μC₃ designates a micro-computer performing sequence control, symbol TM designates a detecting circuit which detects the pulse width showing the kind of serial communication from the camera body and outputs a signal showing the kind of communication to the micro-computer μC₃. Symbol D/D designates a boosting circuit which converts a low voltage into a high voltage, and starts and stops boosting by a signal from the micro-computer μC₃. Symbol D₂ designates a rectifying diode, symbol CM designates a main condenser storing energy from the boosting circuit, symbol LEC designates a light emission controlling circuit for controlling light emission, and symbol DISP designates a displaying circuit, which, as shown in FIG. 8(b), displays whether or not power is in the ON state (the state in which boosting and data communication with the camera body can be performed by signals), and displays ON in the ON state, and displays nothing in the OFF state. Symbol I/OCC designates an input-output switching circuit switching-over input and output of communication with the camera body. Symbol SM designates a normally-opened push switch performing switch-over of ON and OFF of power, which is turned to OFF when power is in the ON state, and is turned to ON when power is in the OFF state. Symbol MONT is a circuit monitoring the quantity of light emission itself, which outputs the "H" signal when the quantity of light emission reaches 1/4 of full light emission. Symbol L_(o) designates a normally-opened switch switching-over the quantity of light emission to 1/4 and full, and switch-over of 1/4←→full light emission is made every time the switch is turned on.

In circuit shown in FIG. 8(a), an AND circuit AND₁ is operated only during exposure controlling operation, and accepts a light adjustment end signal. An AND circuit AND₂ decides whether or not light emission signal sent from the camera body is permitted. Based on a signal from the camera body, the micro-computer μC₃ turns the terminal OP₃ to the "H" level or the "L" level.

Flowcharts of the micro-computer μC₃ performing sequence control of this electric flash apparatus are shown in FIG. 8(c) to be explained.

When the above-mentioned power switch SM is operated, a signal changing from "H" (the terminal is pulled up inside) to "L" is inputted to the micro-computer μC₃, and an interrupt is applied to the micro-computer μC₃, and the micro-computer μC₃ executes a flowchart as shown in FIG. 8(c). In this flowchart, first, judgment is made of whether or not a flag ONF showing ON state of power has been set (#ST10). When the flag has been set (ONF=1), the micro-computer μC₃ turns a terminal OP₂ to the "L" level to stop boosting by resetting this flag, erases the display of ON, and sleeps (#ST20-ST40). When the above-mentioned flag ONF has not been set, the micro-computer μC₃ sets the flag ONF as an operation from OFF to ON of power, turns the terminal OP₂ to the "H" level, and starts boosting (#ST50-#ST60). Then, ON is displayed (#ST70). Next, the timer is reset and started (#ST80), and a wait state of five minutes is entered (#ST90), and after a lapse of five minutes, processing proceeds to step #ST20, performs the same control as the case of power OFF, and sleeps.

Next, the interrupt processing INT₁ which is performed when a request for data communication for sending data from the electric flash apparatus to the camera body is given from the camera body is shown in FIG. 8(d). First, when the "H" signal having a pulse width of T₁ is sent from the camera body, the detecting circuit TM detects this time T₁, and outputs a signal changing from the "L" level to the "H" level to the terminal of INT₁ of the micro-computer μC₃. The micro-computer μC₃ inputs this changing signal, and performs processing of the interrupt INT₁. In addition, a terminal φ₁ works all the time when the battery is attached, and clock pulses are sent from the micro-computer μC₃ to the timer detecting circuit TM through this terminal φ₁.

The micro-computer μC₃, first, turns a terminal OP₁ to the "H" level and resets the timer, turns all outputs of the timer to the "L" level, and even if a signal directed to the timer is inputted, no response is made to this signal (#ST110). Then, in step #ST120, judgment is made on whether or not the flag ONF showing power ON has been set, and when it has been set, a bit STS₁ for data communication showing the attachment of the electric flash apparatus is set to "1" (#ST130), and the terminal OP₂ is turned to the "H" level to start boosting in step #ST140, and processing proceeds to step #ST180. On the other hand, when the flag has not been set, the above-mentioned bit STS₁ is reset (#ST150), and processing proceeds to step #ST180. When a guide number limit clear signal has been inputted from the camera body, processing proceeds to step #ST183, and controls clearance of guide number limitation. When the above-mentioned signal has not been inputted, judgment is made on whether or not a guide number limiting switch L_(o) has been turned on (#ST181), and when it has been turned on (IP="L"), judgment is made on whether or not a flag L_(o) LMTF showing this limitation has been set (#ST182). When it has been set, this is reset, and a terminal OP₄ is turned to the "L" level, and inhibits a light emission stop signal from the monitoring circuit MONT from being inputted to the light emission controlling circuit (#ST183, #ST184).

When the flag L_(o) LMTF has not been set, this is set (#ST186), and the terminal OP₄ is turned to the "H" level to permit limitation of the quantity of light emission (·ST187), and data STS₃ for communication is set. When the switch L_(o) has not been turned on, processing proceeds to step #ST190.

In addition, to this step #ST190, processing comes also from step #ST184 and step #ST187.

In step #ST190, a terminal I/OC is turned to the "H" level to inform the input-output switching circuit I/OCC that the electric flash apparatus ST is the output side. A signal of the above-mentioned bit STS₁ and a signal showing the guide number responding to the electric flash apparatus ST are set (#ST200), and a clock signal for data communication is waited to be sent from the terminal SCK of the camera body, and when this clock signal is sent, in synchronism with this clock signal, communication outputting data through a terminal Sout and the input-output switching circuit I/OCC is controlled (#ST210). On completing this, the terminal OP₁ is turned to the "L" level (#ST220), and the above-mentioned timer is reset, and thereby the width of pulse from the camera body can be detected any time.

When a signal of a pulse width of T₂ is inputted from the camera body, the detecting circuit TM turns a terminal FC to the "H" level. The micro-computer μC₃ inputs this to a terminal IP₁, and proceeds from step #ST230 to step #ST240.

In step #ST240, likewise the above-described, the terminal OP₁ is turned to the "H" level, and the terminal I/OC showing control of input and output is turned to the "L" level (#ST250), and the electric flash apparatus ST is controlled to be the input side. Then, data of the camera body sent in synchronism with the clock signal from the camera body is inputted to a terminal S_(IN) through the input-output switching circuit O/OCC, and this is read into a predetermined register (RAM) (#ST260, #ST270). Then, the terminal OP₁ is turned to the "L" level to make it possible to receive pulses from the camera body (#ST280). Signals of presence/absence of light emission, presence/absence of forced power OFF and presence/absence of forced power ON and a signal of presence/absence of light emission limit clearance are inputted.

In step #ST290, it is judged based on the inputted data whether or not power has been turned forcedly to ON. If not forced to ON, processing proceeds to step #ST330. On the other hand, if forced ON is shown, the flag ONF showing power ON is set (#ST300), and the terminal OP₂ is turned to the "H" level to start boosting (#ST310), and ON is displayed (#ST320), and processing proceeds to step #ST330.

In step #ST330, it is judged based on data from the camera body whether or not power has been turned forcedly to OFF. If power is turned forcedly to OFF, the micro-computer μC₃ erases the display of ON, resets the flag ONF showing power OFF, turns the terminal OP₂ to the "L" level to stop boosting (#ST420-#ST440), and sleeps. On the other hand, when power has not been turned forcedly to OFF, processing proceeds to step #ST340, resets and starts the timer and judges whether or not five minutes have elapsed (#ST350). When five minutes have elapsed, processing proceeds to step #ST420, performing the same control as the case of forced OFF. When five minutes have not elapsed, it is judged whether or not exposure control has been started (#ST360), and when exposure control is not started, processing returns to step ST350, repeating steps #ST350 and #ST360. A signal from the camera body showing that this exposure control has been started is a signal of a pulse width of T₃ inputted through a terminal ST₁. The detecting circuit TM detects this, and turns a terminal EC to the "H" level. When this signal is inputted, the micro-computer μC₃ resets and starts the timer (#ST370), and when light emission is shown based on the signal showing presence/absence of light emission sent from the camera body, the micro-computer μC₃ turns a terminal OP₃ to the "H" level, and when light emission is not shown, turns the terminal OP₃ to the "L" level, and proceeds to step #ST412, respectively. In this step #ST412, a time from a turn-on of the switch S₂ to completion of first-curtain running of the shutter (time of light emission of the electric flash apparatus) (approximately 150 msec) is waited, and then the terminal OP₁ is turned to the "L" level (#ST415), and thereby even if a pulse for interrupt is inputted from the camera body, processing is made possible, and processing proceeds to step #ST 80 as shown in FIG. 8(c).

Next, description is made for an interface circuit as shown in FIG. 9.

A signal CSST showing the kind (the pulse width varies responding to the kind) of data communication to the electric flash apparatus ST, the clock signal in communication and a signal showing completion of light emission adjustment are supplied to the electric flash apparatus ST through an OR circuit OR₂₁. On completing first-curtain running of the shutter, the X contact X is turned on (this is turned off by changing operation at winding), and a signal of "H" level is outputted from a terminal XT.

Symbol I/OCG designates an input-output switching circuit, which switches-over the direction (input or output) of communication of data to the electric flash apparatus ST in response to a signal from the terminal I/OC of the camera body.

In FIG. 11(a), in order to perform data communication with the electric flash apparatus (the camera body is the input side), the micro-computer μC of the camera body outputs a pulse signal of a width of a constant time t₁ to a terminal CSST to turn the terminal I/OC to the "L" level, and waits data setting of the electric flash apparatus with the input/output circuit set as the input side, and performs input of data by serial communication once (#650-#655).

Reverting to FIG. 6, the AF mode is decided in step #417. FIG. 7 shows a subroutine of deciding this AF mode. First, it is judged whether or not the above-described lens-side switch S_(Q) has been turned on from lens information (#4000). When this switch in the ON state, the flag OPF is set in step #4005 to reset and start the power holding time (start from 10 seconds), and it is judged based on a signal of ON/OFF of the card function inputted through data communication (II) (as described later) whether or not the card function has been turned on or off (#4007).

When the card function is in the OFF state, based on information of the E² PROM in the camera body, AF control is performed in the AF mode stored previously.

On the other hand, when the card function is in the ON state, it is judged whether or not the set card is the custom card, and when it is not the custom card, switch-over of the AF mode by the switch S_(Q) is performed based on information of the E² PROM in the camera body.

When it is the custom card, AF control is performed based on AF information set in the card which has been inputted from the card through the data communication (IV) as described later.

In addition, control is performed in the same manner in both the case of determining the AF mode by the E² PROM in the camera body and the case of determining the AF mode by the E² PROM in the custom card except for data to be used, and therefore description is made only on the case of deciding the AF mode by the E² PROM in the camera body.

The micro-computer μC reads information from the E² PROM in the camera body, and judges whether or not the AF mode is the focus lock mode in step #4010. Here, in the case of the focus lock mode, a bit Fb₁₄ of focus lock by the switch S_(Q) is set, and bit Fb₁₃ showing the auxiliary light mode is reset, and further a flag (follow F) is reset to erase the display of the follow mode (#4020-#4030).

This is because, in the focus lock mode, AF operation is inhibited, and thereby AF operation thereafter is not required, and therefore light emission of auxiliary light required for AF operation is inhibited to save power.

Next, judgment is made on whether or not the AF mode is the spot AF mode (#4035). To this step #4035, processing comes also when the mode is not the focus lock mode. Here, in the case of the spot AF mode, judgment is made in step #4036 on whether or not a flag SQONF showing that the switch S_(Q) has been turned ON and processing has passed through this flow for the first time has been set. And when it has not been set, processing proceeds to step #4037, moves the content of a bit Fb₂ to a bit Fb₁₅ to store the multi/spot mode before turning on the switch S_(Q), sets the above-mentioned flag SQONF (#4038), sets the spot mode (Fb₂ =1) in step #4040, and proceeds to step #4045. Also when the flag SQONF has been set, processing skips over step #4037 and the like, proceeding to step #4045. In step #4045, it is judged whether or not AF is continuous AF, and in the case of continuous AF, a bit (Fb₈ =1) showing continuous AF is set (#4050, and the bit Fb₁₃ showing auxiliary light is reset in step #4055, and processing returns. Now, it is assumed that the auxiliary light mode for continuous AF is inhibited in view of power saving. This is because, where auxiliary light is emitted every time of focus condition detection (integration) in the continuous AF wherein focus condition adjustment never terminates, the battery being a power supply is soon exhausted, and thereby the quantity of film frames capable of photographing is reduced. When AF is not continuous AF in step #4045, processing returns immediately. In addition, in the flow wherein the switch S_(Q) is in the ON state, for example, where focus lock is set in step #4010, NO is selected in both steps #4035 and #4045.

When the lens-side switch S_(Q) is in the OFF state in the above-mentioned step #4000, processing proceeds to step #4060. In this step #4060, a bit Fb₁₄ showing the focus lock function is reset.

In step #4065, it is judged whether or not control is made immediately after the switch S_(Q) has been turned off after the spot AF has been selected by the switch S_(Q) by whether or not the flag SQONF has been set. When the flag has been set, the content of the bit b₁₅ is moved to the bit b₂, and thereby the mode information of multi-spot/spot before selection by the switch S_(Q) is obtained (#4070). Then processing resets the flag SQONF, and proceeds to step #4087. In step #4065, when the flag SQONF has not been set, judgment is made on whether or not the set mode is the forced spot AF by the IC card (close-up card), and in the case of forced spot AF, the bit Fb₂ is set to show spot AF, and processing proceeds to step #4087. When the set mode is not forced spot AF, processing skips over step #4085, proceeding to step #4087. Next, in step #4087, it is judged based on a signal inputted from the card (sport card) whether or not the set mode is forced continuous AF, and in the case of forced continuous AF, the bit Fb₈ showing this is set, and the bit Fb₁₃ is reset to inhibit the auxiliary light mode, and processing returns (#4088, #4089). When the set mode is not forced continuous AF, the bit Fb₈ is reset to show one-shot AF (#4090), and processing returns.

After deciding the above-mentioned AF mode, the micro-computer μC performs the card data communication (II) with the IC card to discriminate the kind of the IC card CD (#420).

Description is made for this card data communication (II) in reference to FIG. 5(b). In this data communication, first, data showing the data communication (II) is sent from the camera body to the card (serial communication one time) (#320 to #327), and when the camera body is set to the input side (#330), processing is put simultaneously in ready state (#332), and performs serial communication 10 times and obtains 10-byte data (#335). Brief description is made on the content of this data. The first four bytes are data for controlling individual functions of the camera in response to the card (detailed description is made later).

The following fifth and sixth bytes are missing, and the seventh and the eighth bytes are for specifying the number and the head address of data of output side in the data communication (IV) (the camera body is input side) following this, and this is called in this embodiment the "directly-specified-address type". The following ninth and the tenth bytes are for inputting required data by specifying a group of data of the output side in the communication (III) and the communication (IV), and particularly the ninth byte shows the communication (III) and the tenth byte shows the communication (IV), and this is called in this embodiment the "group-specified type". Then, these two specifying methods are changed-over by the card using a bit b₆ of a third byte out of the above-mentioned four bytes, and data communication sending only required data is performed, and thereby processing time is reduced efficiently. Then, reverting to FIG. 6, judgment is made on whether or not AF inhibit data inputted by the communication (II) has been set (#425), and when it has not been set, or when self time counting is not being performed (SLP=0), it is judged by the level of the terminal IP₅ whether or not the AF starting switch S₁ has been turned on (#428). When the above-mentioned switch S₁ has been turned on (IP₅ ="L" level), AF control is performed (#429), and a flag S₁ ONF showing ON of the switch S₁ is set (#430).

When, the AF inhibit data has been set based on the data inputted from the card by the communication (II), or when self time counting is being performed, or when the switch S₁ is in the OFF state (IP₅ ="H" level), lens drive is stopped by outputting a signal of stopping the AF driving motor to a lens controlling circuit LECN (#431) to inhibit AF operation, and a flag AFNF showing that AF is not performed is set (#435), and further the flag S₁ ONF showing ON of the switch S₁ is reset (#437). Thus, when the data setting mode has been set, data setting is given priority by inhibiting AF control by instruction from the card side, and thereby AF operation is not performed even if the AF starting switch S₁ is depressed by mistake during data setting. In addition, when the above-mentioned flag AFNF has been set, a signal (b₁ of AEFLAG) showing that the image magnification data β cannot be used because of no reliability is set to "0", and is outputted to the card in the data communication (III).

Here, description is made for the above-described AF control as shown in flowcharts of FIG. 12(a) to FIG. 12(h) in reference to FIG. 14 showing the focus condition detecting range for the photographing image plane. Here, the photometric range is also described.

First, in FIG. 14, an outside rectangle 12 shows the photographing image plane. Symbols LM₁ to LM₄ therein show photometric ranges, and symbols AF₁ to AF₃ show focus condition detecting ranges. Description is made for the focus condition detecting range. In the camera, change-over of spot/multi-spot AF can be made, and when the spot AF is selected, the AF is performed based on information on a subject in the focus condition detecting range AF₂, and when the multi-spot AF is selected, the AF is performed so that a subject nearest to the camera is focused by selecting one range corresponding to the nearest subject from among the above-mentioned three ranges AF₁ to AF₃. Accordingly, on the multi-spot AF, the area for detecting the focus condition is larger or wider than that on the spot AF. Hereinafter, the AF₁ is referred to as the first island, the AF₂ as the second island, and the AF₃ as the third island, respectively.

Description is made for AF control as shown by the flowchart of FIG. 12(a). First, to detect whether or not the AF starting switch S₁ has been depressed for the first time, the flag S₁ ONF is judged. And when it has not been set, assuming that it has been depressed for the first time, a flag AFEF showing infocus, a flag LSIHF showing inhibit of low-contrast scanning and a flag LSFI showing the beginning of low-contrast scanning are reset respectively (#702, #703, and #704), and processing proceeds to step #705. In addition, description is made later on low-contrast scanning and flags thereof. When the flag S₁ ONF is set, processing proceeds directly to step #705 without passing through steps #702 to #704. Then, judgment is made based on the input signal from the lens on whether or not the lens is attached (#705). Then, when the lens has not been attached in step #705, the flag AFNF showing that AF is not performed is set (#800), and processing proceeds to the above-mentioned step #780.

When the lens has been attached, judgment is made on whether or not the forced AF mode (even if manual focus condition adjustment has been selected by operation, the AF mode is forcedly set, and lens drive by motor is made possible) has been selected by the card (#707). When the set mode is forced AF, processing proceeds to step #711. On the other hand, when the set mode is not forced AF, it is judged by the level of a terminal IP₁₀ whether the focus condition adjusting mode is the AF mode or the M mode (#710), and when the set mode is AF, it is judged in step #711 by the bit Fb₁₄ whether or not the focus lock mode has been selected. When the set mode is M, the auxiliary light mode is inhibited (Fb₁₃ =0) in step #798, and in the following step #799, a subroutine MFOCUS of manual focusing is executed, and thereafter the flag AFNF showing that AF is not performed is set (#800), and then, it is judged whether or not the subject is in infocus condition (#780). And if the subject is in infocus condition, the flag AFEF is set (#781), and if not infocus condition, the flag is reset (#782), and processing returns.

A subroutine of this manual focusing is shown in FIG. 12(d) to be explained. First, a flag MFF showing manual focusing is set, and integration control is performed. Then, in manual focusing, a flag AF2F showing a second island out of three islands of the AF area is set, and quantity DF₂ of defocus of this island is calculated to set this as the quantity of defocus, and processing returns (#4100 to #4110).

A subroutine of integration control in the above-described step #4101 is shown in FIG. 12(b) to be explained. First, when focus condition detection is impossible (LCONF=1), or when the set mode is not the auxiliary light mode (Fb₁₃ =0), auxiliary light is not emitted, and processing proceeds to step #4163 (#4150, #4155). When focus condition detection is impossible, and when the set mode is the auxiliary light mode, a terminal OLD is turned to the "H" level for a certain time to start emitting light before starting integration and to continue to emit for predetermined time (#4150-#4160), and processing proceeds to step #4163.

In step #4163, count value CT of quantity of moveout (the number of pulses of move-out) is read, being set as CT₁. Next, integration is performed, and after completing integration, the count CT is read once more, being set as CT₂ (#4165, #4167). An average value of the values CT₁ and CT₂ is evaluated and is set as CT₁₂ (#4168), and processing returns.

Reverting to FIG. 12(a), when the set mode is not manual focus condition adjustment in step #710, or when the set mode is forced AF in step #707, it is judged in step #711 whether or not the focus lock mode has been selected. Where focus lock mode has been selected by the switch S_(Q) in the AF mode as a result of the judgment in step #711, lens drive is stopped in step #712, and it is judged whether the subject has been in infocus condition or not by whether or not the flag AFEF has been set (#713), and when the flag has been set, processing proceeds to step #714, and controls the M focusing, proceeding to step #780. When the flag has not been set, processing proceeds to step #799.

The judgment of infocus condition in step #713 is intended to determine the photometric value using the distance data (used for the calculation of the image magnification β) of the subject in infocus condition where focus lock is applied after focusing.

When the AF mode has been selected in step #710 in FIG. 12(a), and focus lock is not performed (Fb₁₄ =0) in the subsequent step #711, the flag AFNF showing that AF is not performed is reset (#715) and also the flag MFF for showing the manual focusing is reset (#717). The micro-computer μC controls storage (integration) of charges generated in a plurality of CCD, which is prepared for detecting focus condition with respect to each island, responding to the quantity of incident light. After completing the integration, the micro-computer inputs data obtained by A-D-converting the value of integration (#720). Then, it is judged whether or not the mode is the spot AF (judged based on function data Fb₂) in step #730, and if the spot AF is selected (Fb₂ =1), processing proceeds to step #735 and a subroutine of the spot AF as shown in FIG. 12(d). In this subroutine, the flag AF2F for showing that AF is performed based on the second island is set, and a quantity DF₂ of defocus of the second island is calculate from the inputted data, and a value obtained by this calculation is set as the quantity of defocus for driving the lens (#4102 to #4110).

On the other hand, where the multi-spot AF mode is selected in step #730 in FIG. 12(a), processing proceeds to step #740 and a subroutine of the normal AF control as shown in FIG. 12(c) is executed. At this time, the quantities of defocus of the first, the second and the third islands are calculated respectively, and the quantity of defocus for a subject nearest to the camera is determined from among the above-mentioned quantities (#4200 to #4215).

FIG. 12(f) shows a subroutine of determining this quantity of defocus. For FIG. 12(f), it should be noted that the quantity of defocus is represented with negative sign in the case of front focus, and the quantity is represented with positive sign in the case of rear focus, and the absolute values thereof represent the magnitude of defocus. It is possible to determine the subject nearest to the camera by detecting the largest quantity of defocus among the quantities of defocus of the three islands. The main subject is considered to be located in that nearest island corresponding to the largest quantity of defocus.

In FIG. 12(f), first, the micro-computer μC resets flags AF1F to AF3F showing the islands, detects the island of the largest quantity of defocus, sets the detected quantity of defocus of the island as the quantity of defocus for driving the lens, and sets one of the above-described flags AF1F to AF3F responding to that island, and returns (#810-#865).

After the quantity of defocus has been calculated, it is checked in step #745 of FIG. 12(a) whether or not focus condition detection is impossible (data is unreliable), (for example, it is judged whether or not the contrast is low, and if it is low, focus condition detection is assumed not to be reliable), and if focus condition detection is impossible, processing proceeds to step #747, and judges whether or not the set mode has been the auxiliary light mode, further focus condition detection is useless, and therefore a flag LCONF showing this is set (#752), and a flag showing the follow mode (as described later) is reset (#755), and processing returns. When the set mode is not the auxiliary light mode in step #747, processing proceeds to step #757, and detects whether or not the luminance is low, and when the luminance is not low, performs control to scanning the lens for low-contrast without auxiliary light emission. This low contrast scanning is to perform focus condition detection while driving the lens to search for an area where focus condition detection is possible when focus condition detection is impossible. This is shown in FIG. 12(h) to be explained. First, judgment is made on whether or not the flag LSIHF has been set which shows that low-contrast scanning has been performed, but an area where focus condition detection is possible has not been obtained (#4400). When the flag has been set, further low-contrast scanning is useless, and therefore processing returns. When the flag has not been set, judgment is made on whether or not a signal showing inhibit of low-contrast scanning has been inputted from the card (#4405). When the signal has been inputted, low-contrast scanning is not performed likewise, and processing returns. When the signal has not been inputted, judgment is made on whether or not the flag LSFI showing that this flow has been executed has been set (#4410), and when the flag was not previously set, it is set (#4415), a flag FWF showing the direction of move-out is set (#4420), and drive of move-out of the lens is performed with the quantity N of lens drive set to a positive value KL larger than the maximum quantity of move-out of the lens (#4425). When the flag LSFI has been set, judgment is made on whether or not the lens has reached the endmost of move-out or the endmost of move-in (#4430), and if the lens has not reached either of the endmost positions, processing returns. When the lens has reached either of the endmost positions, the lens is stopped (#4430), and judgment is made on whether or not the lens has been moved out before stop (#4440). To detect this endmost position, a hardware timer (not illustrated) is working, and this hardware timer is reset and started every time a pulse is inputted from the encoder. When this timer has counted a certain time, the endmost of move-out or the endmost of move-in is detected as the state that the lens cannot be driven. Then, when the less has been moved out (FWF=1), this is rest (#4445), and this time, to perform control of move-in, the quantity of lens drive is set to a negative value KL (#4450), and processing returns. When the flag FWF has not been set, assuming that both move-out and move-in has been performed, further low-contrast scanning is useless, and therefore the flag LSIHF showing this is set (#4455), and processing returns. Then, processing proceeds to step #752, performing the same processing as the above-described.

On the other hand, when the luminance is low in step #757 of FIG. 12(a), it is judged in step #758 whether or not the set mode is inhibit of auxiliary light mode, processing proceeds to step #752, and inhibits AF by auxiliary light emission, and when the set mode is not the inhibit mode, sets the auxiliary light mode (Fb₁₃ =1) in step #760, proceeding to step #755.

Next, when focus condition detection is possible, the micro-computer μC resets the flat LCONF (#762). judges whether or not the subject is in infocus condition from the quantity of defocus for less drive in step #765. And if infocus condition, processing sets the flag AFEF showing infocus condition (#767), sets a flat AFEIF, and proceeds to step #755.

When the subject is not infocus condition in step #765, processing proceeds to step #775, and executes a subroutine of lens drive control, and thereafter returns. This subroutine is shown in FIG. 12(e) to be explained. Judgment is made on whether or not the flag (follow F) showing the follow mode has been set (#4248). If the set mode is the follow mode, processing proceeds to step #4330. When the flag (follow F) has not been set, it is judged from data Fb₈ whether the set mode is one-shot AF (when focused once, lens drive thereafter is stopped, and this time focus condition detection can also be stopped) or continuous AF (after infocus, follows the subject, performing lens drive responding to the evaluated quantity of defocus) (#4250). In the case of one-shot AF (Fb₈ =0), it is judged whether or not the flag AFEF showing infocus state has been set in step #4255, and when the flag has not been set, or in the case of continuous AF (Fb₈ =1), processing proceeds to step #4340 via steps #4330 and #4335, performing control of lens drive. The flat AFEF showing infocus state is reset in step #4330, and the quantity of lens drive is determined in step #4335, and the lens is driven in step #4340, and processing returns. In addition, Lens drive in this step #4340 is performed in a manner that the lens driving circuit LECN drives the lens by a value corresponding to the above-mentioned quantity N of lens drive.

A subroutine of determining the above-mentioned quantity of lens drive is shown in FIG. 12(g) to be explained. The micro-computer μC judges whether or not the flag (follow F) showing the follow mode has been set (#4341), and when it has not been set, processing proceeds to step #4345. When the flat (follow F) has been set, the quantity DF of defocus obtained this time is set as DF, (#4342). Then, the quantity DF of defocus, DF=DF₁ +(DF₁ -DF₂) (DF₂ is the quantity of defocus at the last time, that is, the difference between the quantities of defocus at the last time and this time is added to the quantity at this time) is evaluated, and DF₁ is set as DF₂ and processing proceeds to step #4345. In this step #4345, the quantity N of lens drive is evaluated by multiplying the evaluated quantity of defocus by the converting coefficient K. The number of pulses of move-out of the lens at that time is read and is taken as CT₃, and ΔCT is evaluated by (CT₃ -CT₁₂) as the quantity of movement of lens from the integration center, and ΔCT is subtracted from the above-mentioned N, and thereby the quantity of lens drive at the end of operation is evaluated, and processing returns (#4346-#4348).

In step #4255, when the flag AFEF showing infocus state has been set, processing proceeds to step #4257. Then, it is judged whether or not the set mode is forced one-shot AF, and when the set mode is forced one-shot AF, processing returns immediately. Thereby, the follow mode in the forced one-shot AF mode is inhibited. When the set mode is the normal one-shot AF mode where the follow mode is not inhibited, It is judged whether or not the flag AFEIF showing that the subject has been in infocus state from the out-of focus state h as been set (#4260). When the flag has been set, preparatory processing for follow judgment as described later (it is judged whether or not the subject is moving) is performed. First, in step #4265, registers RDF₂ and RDF₃ storing the quantities of defocus are reset, the evaluated quantity DF of defocus is stored in a similar register RDF₁ (#4270), a variable numeral N is set to 0 (#4275), the above-mentioned flag AFEIF is reset (#4280), and processing returns. In step #4260, when focus condition detection at the second time and after is performed (AFE1F=0) after focusing (AFEF=1), processing proceeds to step #4285, and the quantities of defocus are stored sequentially in the registers storing the quantity of defocus (the content of the register RDF₂ is stored in the register RDF₃, the content of the register RDF₁ is stored in the register RDF₂, and the evaluated quantity DF of defocus is stored in the register RDF₁), and 1 is added to the variable N. And judgment is made on whether or not N is two or more, that is after focusing, focus condition detection has been performed three times, and if two times or less, less drive is not performed, and processing returns (#4285-#4305).

In step #4305, when the focus condition detection has been made three times or more (N>2), processing proceeds to step #4310, and evaluates the quantity of defocus by averaging the quantities of defocus of the past three times (average of contents stored in the registers), and judges whether or not this value is not less than the predetermined value KD in the following step #4315. This means that it is judged by the past focus condition detection of three times whether or not the subject is moving at a predetermined speed (on the photographing image plane). When this value is less than the predetermined value, assuming that the subject is not moving, processing resets the follow flag (#4320), and returns,

This flag is used for display DISP_(n) (in-finder). On the other hand, when the above-mentioned quantity of defocus is not less than the predetermined value, assuming that the subject is moving, the flat (follow F) is set as the follow mode (#4325). And the flag AFEF is rest (#4330), the quantity of less drive is evaluated (#4335), and lens drive is performed (#4340), and processing returns.

Here, description is made for display part DISP_(II) in the finder relating to focus condition detection based on FIG. 13. Numeral 101 designates a display showing infocus state of focus condition detection impossible, and when it is set based on an infocus flag for display (infocus F), a green light emitting diode is lit and if not so (infocus F=0), it is put out. Also, in the case of focus condition detection impossible (LCONF-1), a red light emitting diode blinks, and if not so (LCONF=0), it is put out. Numeral 102 designates a focus condition detection area, and when the inside area 102a is displayed, spot AF is shown, and in the case of only the outside area 102b, multi-spot distance measurement is shown. Numeral 103 designates a display when the continuous mode or the follow mode is shown (follow F=1), and when the set mode is not the continuous AF or the follow modes, it is erased. "AF/M" designated by 104 performs AF display in the AF mode (AFNF=0), and performs M display in the other cases (AFNF=1). In addition, when the AF switch S₁ is in the OFF state (S₁ ONF=0), the display in the finder is erased.

Reverting to FIG. 6 again, the micro-computer μC controls changes of various data by operations of various key switches (#440).

This is shown in FIG. 15 to be explained. Based on data inputted from the card, it is judged from data inputted through the communication (II) whether or not the set mode is the display control mode (data is under setting) (#905), and when the set mode is the mode of display control from the card (data is under setting), processing returns. When the set mode is not the display control mode, judgment is made on whether or not a flag SLP showing that time is being counted in the self mode has been set (#907). If the flag has been set, processing returns. If the flag has not been set, judgment is made on whether or not the exposure mode changing switch S_(EM) has been turned to ON (#910), and when the switch is in the ON state, processing proceeds to a subroutine of this change (#915), and returns (detailed description is made later). When the above-mentioned switch S_(EM) has not been turned to ON, processing proceeds to step #920, and the micro-computer μC judges whether or not the function changing switch S_(FUN) has been turned to ON. Then, when this switch S_(FUN) has been turned to ON, processing proceeds to a subroutine of this change (#925).

Here, FIG. 16 and FIG. 18 respectively show the above-mentioned two subroutines, which are described as follows. First, in the case of the exposure mode change, the mode changes in a sequence of P→A→S→M→P (return) cyclically every time the up switch S_(UP) is turned to ON, and changes in a sequence reverse to the above-mentioned upward direction of P ←A ←S ←M ←P cyclically every time the down switch S_(DN) is turned to ON, and the change is made responding to the exposure mode set by the IC card CD, and the mode not selected is skipped. This routine is described in reference to FIG. 16. The micro-computer μC judges whether or not the function of the card is in the ON state by an ON/OFF signal of the card function inputted through the data communication (II) (#1000). When the function is not in the ON state, processing proceeds to in-camera body control. When the function is in the ON state, it is judged whether or not the set card is the custom card (#1001), and when the set card is not the custum card, it is judged in step #1002 whether or not a signal of forced P mode has been inputted, and when the signal is of the forced P mode, the P mode is set (#1003), and processing returns. If the signal is not of the forced mode, processing goes to in-camera body control which decides the AE mode in the AE modes capable of setting stored in the E² PROM in the camera body. On the other hand, when the set card is the custom card, based on data (EECSTM=0, 1) sent through the data communication (IV), the AE mode is decided in the AE modes capable of setting stored in the card.

Controls of selections of the P, A, S and M Modes are quite the same except that data to be selected are different (camera body E² PROM, card data), and therefore description is made only on control performed using data of the E² PROM in the camera body. In step #1004, the micro-computer μC judges whether or not the up switch S_(UP) has been turned to ON, and when it has not been turned to ON, processing proceeds to step #1055. When it has been turned to ON, processing proceeds to step #1005, and Fb₀ and Fb₁ of the function data Fb_(N) of the RAM are checked up, and judgment is made on whether or not the P mode has been set at present as the controlled exposure mode, and where it has been set, processing proceeds to step #1010, and it is judged through bits of the E² PROM whether or not the A mode has been selected by the IC card, and if it has been selected, the exposure mode is changed from P to A, and the function data Fb₀ and Fb₁ are also changed from (0, 0) to (0,1) in step #1015, and thereafter processing returns. In the above-mentioned step #1010, when it is judged that the A mode has not been selected by the IC card, processing proceeds to step #1025, and it is judged whether or not the S mode has been selected, and when the S mode has not been selected, processing further proceeds to step #1040, and it is judged whether or not the M mode has been selected. Thus, any mode selected by the card is searched for in sequence. Then, if any selected mode exists, the mode is set. Then, when the A, S and M mode have not been selected, only the P mode has been automatically selected (#1050).

Hereinafter, likewise, when the A mode has been set as the controlled exposure mode (Fb₀, Fb₁ =0, 1), it is judged whether or not the S mode has been selected by the IC card, and when it has not been selected, it is judged whether or not the M mode has been selected, and the exposure mode is changed to the selected mode, and bits Fb₀ and Fb₁ are changed, and processing returns (#1020 to #1030).

Now, when the S mode has been set as the controlled exposure mode (Fb₀, Fb₁ =1, 1), it is judged whether or not the M mode has been selected by the IC card, and where the M mode has been selected, the M mode is set, and where the M mode has not been selected, the P mode is set, and processing returns (#1035-#1045). When the S mode is not set as the exposure mode in step #1035, that is, when the M mode is set, next the P mode is set (#1050). This is because the P mode has been selected without fail in this embodiment.

When the down switch Sdn has been turned to ON in step #1055, control is performed like the above-described up switch S_(UP) except that the changing direction of the exposure mode differs, and therefore description thereon is omitted.

When both of the switches S_(UP) and S_(DN) are in the OFF state, processing returns without performing anything.

Next, description is made on the process when the function changing switch S_(FUN) has been turned ON referring to FIG. 17. The micro-computer μC executes a flow of step #1205 and the subsequent steps wherein data is to be changed. The micro-computer μC judges whether or not the switch S_(SE) showing the function to be changed has been turned on (#1205), and when the switch S_(SE) has been turned on, judgment is made on the function to be changed from bits Fb₉ and Fb₁₀ shows on table 3 (#1225). and processing proceeds cyclically in a sequence of ±→S/C→S/A→± (return), changing the data of the bits Fb₉ and Fb₁₀.

In step #1205, where the switch S_(SE) has not been turned to ON, processing proceeds to step #1265. In step #1265, it is judged whether or not the up switch Sup has been turned to ON, and when it has been turned to ON, what is the function to be changed now is judged based on data Fb₉ and Fb₁₀ (#1280). If the function to be changed is of ±, 0.5 is added to a quantity ΔEv of exposure adjustment in step #1285, and processing proceeds to a subroutine for judging the magnitude thereof. FIG. 18 shows this subroutine. In FIG. 18, if the quantity ΔEv of adjustment is positive, data Fb₄, Fb₅ =0, 1 is set as positive side adjustment, and if it is a negative side adjustment, data Fb₄, Fb₅ =1,0 are set, and further if the adjustment value is zero, data Fb₄, Fb₅ =0, 0 are set as no adjustment, and processing returns (#1350-#1370).

Reverting to FIG. 17, in the case of the S/C function, whether or not the present function is of one-frame advancing (S) or continuous-advancing is judged based on data Fb₃, and the data is changed so that the function becomes the other function (#1295), and processing returns. When the function is not any of the above-mentioned two functions the ±, and the S/C, that is, when present function is the A/S function, it is judged through data Fb₂ whether the present function is of spot AF (S) or multi-spot AF (A), and the data Fb₂ is changed so that the function becomes the other function (#1300), and processing returns.

When the up switch Sup has not been turned to ON is step #1265, processing proceeds to step #1305, and it is judged whether or not the down switch S_(DN) has been turned to ON, and when it has not been turned to ON, processing returns. Where it has been turned to ON, the flow is like the flow when the above-described up switch S_(UP) has been turned to ON except that if the function is ±, 0.5 Ev is subtracted from the quantity ΔEv of exposure adjustment (#1310-#1340). Accordingly description thereon is omitted.

Reverting to FIG. 15, both of the exposure mode changing switch S_(EM) and the function changing switch S_(FUN) are in the OFF state, processing proceeds to step #927 and executes a subroutine of changing the diaphragm aperture value A_(V) and the shutter speed T_(V) by the up switch S_(UP) and the down switch S_(DN).

FIGS. 22(a) and 22(b) show this subroutine. In this subroutine, first, the micro-computer μC judges whether or not the up switch S_(UP) has been turned to ON in step #1800, and when it has not been turned to ON, processing proceeds to step #1805, and it is judged whether or not the down switch S_(DN) has been turned to ON, and when it has not been turned to ON, processing returns. When the up switch S_(UP) has been turned to ON, processing proceeds from step #1800 to step #1810, and it is judged whether or not the M mode has been set. When the M mode has been set (Fb₀, Fb₁ =1, 0), processing proceeds to step #1811 and judgment is made on whether the diaphragm aperture value changing switch S_(AV) has been turned to ON. When it has been turned to ON, processing proceeds to step #1830 and the subsequent steps as described later, and when it has not been turned to ON. processing proceeds to step #1850 to change the shutter speed.

First, description is made on changing the shutter speed. In step #1850, 0.5 Ev is added, and processing proceeds to step #1855. In step #1855, judgment is made on whether or not the set shutter speed Tv exceeds the maximum shutter speed (Tvmax), and only when it exceeds, the shutter speed is limited to the maximum shutter speed (#1860), and processing returns. When it does not exceed, processing skips over step #1860 and returns.

When the set mode is not the M mode is step #1810, it is judged in steps #1815 and #1820 whether or not the set mode is the P mode or the A mode in sequence. When the set mode is the P mode (Fb₀, Fb₁ =0, 0), it is judged whether or not P shift is inhibited (#1817), and when it is inhibited, processing returns. When it is not inhibited, processing proceeds to step #1830. In step #1830, 0.5 Ev is added to the diaphragm aperture value Av, and judgment is made on whether or not this value exceeds the maximum diaphragm aperture value Avmax which can be controlled (#1835). When this value exceeds Avmax, the maximum diaphragm aperture value Avmax is set as the diaphragm aperture value Av (#1840), and when it does not exceed Avmax, processing proceeds to step #1845 without performing anything, and it is judged whether or not the et mode is the P mode, and when the set mode is the P mode, processing proceeds to step #1905 of the flowchart in FIG. 22(b). When the set mode is not the P mode, processing returns. When the set mode is not the P mode (Fb₀, F_(b) 1 ≠0, 0) in step #1815, it is judged whether or not the set mode is the A mode (#1820), and when the set mode is the A mode (Fb₀, Fb₁ =0, 1), processing proceeds to step #1830, and performs control of increasing the diaphragm aperture valve Av, and when the set mode is neither of them, that is, the S mode (Fb₀, Fb₁ =1, 1), processing proceeds to step #1850, performing control of increasing the shutter speed Tv.

In step #1805, when the down switch S_(DN) has been turned on, processing proceeds to step #1865 in FIG. 22(b), and judges whether or not the set mode is the M mode, and when the set mode is the M mode (Fb₀, Fb₁ =1, 0), judges whether or not the diaphragm aperture changing switch S_(AV) has been turned on (#1877), and if it has been turned on, assuming to change the diaphragm aperture, proceeds to step #1885, and if it has not been turned on, assuming to change the shutter speed, proceeds to step #1905. In step #1905, 0.5 Ev is subtracted from the set shutter speed, and judgment is made on whether or not this value is lower than the minimum shutter speed Tvmin of the camera (#1907), and when this value is lower, the speed is limited to the minimum shutter speed (#1908), and if not so, processing returns without performing anything. When the judgment in step #1877 results in the diaphragm aperture changing mode (S_(AV) ON), in step #1885, assuming to decrease the diaphragm aperture value Av, 0.5 Ev is subtracted, and subsequently in step #1890, judgment is made on whether or not this value is smaller than the open diaphragm aperture value Avo, and when this value is smaller, the diaphragm aperture value is set to the open diaphragm aperture value Avo (#1895).

In the above-mentioned step #1890, when the diaphragm aperture value Av is not smaller than the open diaphragm aperture value Avo, processing skips over step #1895, proceeding to step #1900. If the judgment in this step #1900 results in the P mode, processing proceeds to a flow of control of increasing the diaphragm aperture value in FIG. 22(a) (#1850 to #1860), and if not the P mode, processing returns. When the M mode has not been set in step #1855, it is judged whether or not the P mode has been set, and if the P mode has been set (F₀, Fb₁ =0, 0), judgment is made on whether or not P shift is inhibited (#1872), and when it is inhibited, processing returns. When it is not inhibited, processing proceeds to step #1885. When the set mode is not the P mode in step #1870 (Fb₀, Fb₁ ≠0, 0), processing proceeds to step #1875, and judgment is made on whether or not the set mode is the A mode, and if it is the A mode, processing proceeds to a flow of control of decreasing the diaphragm aperture value of step #1885 and the subsequent steps, and if not so, assuming to be the S mode, processing proceeds to step #1905, performing control of decreasing the shutter speed.

If the FIG. 15, on completing control of setting Av and Tv, judgment is made on whether or not the normally-opened self switch S_(SELF) has been turned on. When the switch is in the OFF state (IP₁₂ ="H"), processing returns immediately.

A subroutine of self when the switch S_(SELF) is in the ON state (IP₁₂ ="L") is shown in FIG. 19 to be explained. When a flag SELF showing self mode has been set, processing resets this (#945) to get out of the self mode, and when the flag SELF has not been set, processing sets a flag SELF to execute the self mode (#950), and returns, respectively.

On completing control of data setting as shown in FIG. 15 as described above, the micro-computer μC proceeds from step #440 to step #445 in FIG. 6, and inputs photometric data from the photometric circuit LM, and prepares the spot photometric value used for exposure. Here, description is made for the photometric value in reference to the photometric range as shown in FIG. 14 and the flowchart about photometric data of the micro-computer as shown in FIG. 20.

In FIG. 20, first the micro-computer μC judges whether or not the flag AELF showing AE lock has been set in step #1600, and when the flat AELF has been set, processing returns without performing renewal of the photometric value. When the flag AELF has not been set, a terminal CSLM is set to the "H" level, and an instruction of output of photometric data is given to the photometric circuit LM, and serial communication is performed (#1605, #1610).

Luminance values Bv₁ to Bv₄ representative of four photometric ranges LM₁ to LM₄ as shown in FIG. 14 are inputted into the micro-computer μC by this communication. On completing the communication, the terminal CSLM is set to the "L" level (#1615). Then, in the following step #1617, the luminance value Bv₂ is set as Bvc and in step #1618, B_(VAVE) is evaluated from the following equation: ##EQU1## Thereafter, processing proceeds to step #1622, and judgment is made on whether or not the flat AFNF showing that the mode is not the AF mode has been set. Further, in step #1624, judgment is made on whether or not the flag LCONF showing that focus detection is impossible has been set, and when either or the above-mentioned two flags has been set, processing proceeds to the above-mentioned step #1660, and the small or narrow photometric range LM₂ at the center part is set as the spot value Bvsp. When neither of the flags AFNF and LCONF has been set, the distance is calculated from the number of pulses for shifting-out the lens, and as image magnification β is calculated from focal length information inputted from the lens wherein β is ration of focal length/distance based on the calculated distance information (#1625). Then, in the next step #1630, judgment is made on whether or not this image magnification β is not less than a predetermined value Y, and the magnitude of the subject occupying the photographing image plane is determined. If the calculated value is not less than the predetermined value Y, the subject is assumed to be large, and in step #1640, an average value of the luminance values Bv₁, Bv₂ and Bv₃ of the respective photometric ranges LM₁, LM₂ and LM ₃ is regarded as a spot photometric value Bvsp, and processing returns.

When the above-mentioned image magnification β is less than the predetermined value Y, the photometric range including the focus detection range used for detection of focus condition is set as the photometric value Bvsp of the main subject. In this embodiment, the focus detection range is discriminated by which of the flags AF1F to AF3F showing the focus detection ranges has been set. So, if the flag AF1F has been set, the luminance value Bv₁ of the photometric range LM₁ is set, and if the flag AF2F has been set, the luminance value Bv₂ of the photometric range LM₂ is set, and if the quantity of defocus of the third island AF₃ has been selected, the luminance value Bv₃ of the photometric range LM₃ is set respectively as the spot photometric value Bvsp (#1645-#1665).

On determining the spot photometric value in such a manner, in FIG. 6, processing proceeds to step #450, and performs the control relating to AE lock. This control is described in reference to a flowchart as shown in FIG. 21.

First, in step #1740 judgment is made on whether or not the AE locking switch S_(AEL) has been turned to ON, and when it has not been turned to ON, the flag AELF is reset #1755). When it has been turned to ON, a flag AELF is set (#1745), and the timer T₁ for holding power is reset and started (#1750), the luminance value Bv₂ is set as the spot photometric value Bvsp (#1752), and processing returns. Thus, when the AE locking switch S_(AEL) has been turned to ON, power is held for a certain time period.

In FIG. 6, on completing the control of this AE lock, the micro-computer μC performs a third time communication with the card in step #455. This data communication is described in reference to FIG. 5(c). The micro-computer μC judges whether or not the communication (III) exists based on a signal inputted from the card, and when it is judged that the communication (III) does not exist, processing returns. When the card has not been attached to the camera body, it is regarded as no communication (III). When the communication (III) exists, the terminal CSCD is set to the "H" level (#350), and data is set (#352), which is outputted to the IC card CD (#355).

Next, the micro-computer μC performs communication once (#357), waits (#360), executes a subroutine of data output (#362), and after completing data output, turns the terminal CSCD to the "L" (#365), and processing returns.

This subroutine of data output is shown in FIG. 5(g) to be explained. First it is judged from the data obtained through the communication (II) whether or not the set mode is group specifying (#362-1. In the case of group specifying (in the sport card, the auto-depth card of the like), control of outputting data of groups G₀, G₁, G₂ and G₃ of group specifying is performed. First, the address of the group G₀ is set (#362-2), and serial communication is performed 15 times (#362-3).

Data of the groups G₀, G₁, G₂ and G₃ are for lens drive and AE operation as described below.

    ______________________________________                                          ##STR1##                                                                              Bvc B.sub.VAVE B.sub.VA Bvs Avo (or Avmin) Avmax f Sv                                    luminance photometric value Bv.sub.2 +Avo average                             photometric value +Avo luminance photometric value                             Bv.sub.4 +Avo luminance value of main subject deter-                           mined by camera body +Avo open (minimum) diaphragm                             aperature value of interchangeable lens maximum                                diaphragm aperature value of interchangeable lens focal                        length of interchangeable lens film speed                      ##STR2##                                                                              Iv Tvx    quantity of light emission of electric flash apparatus                        synchronization shutter speed                                  ##STR3##                                                                              AEFLAG    b.sub.0 b.sub.1 b.sub.2 b.sub.3 to b.sub.7                                            1 FLON (STS.sub.1 =1), 1 β useable, 1                                    negative film, absence                                                                    O FLOFF (STS.sub.1 =0) O β                                               unuseable O positive film                     ##STR4##                                                                              Dv β Tvmin Tvmax                                                                    subject distance image magnification minimum shutter                          speed maximum shutter speed                                              K         coefficient converting quantity of defocus                                     into quantity of lens drive                               G.sub.1    Lp        quantity of move-out of lens                              FLGO         b.sub.0   1 infocus,                                                                               O out of focus                                             b.sub.1 to b.sub.7                                                                       absence                                                             Tvc       control shutter speed                                    G.sub.2                                                                                   Avc       control diaphragm aperature value                         G.sub.3    Lpmax     maximum quantity of move-out of lens                      ______________________________________                                    

Next, it is judged from the data obtained by the communication (II) whether or not data of the group G₁ is required (#362-4). When the data is not required, processing returns. When it is required, an address G₁ of the data G₁ is set (#362-5), and serial communication is performed three times (#362-6). Next, it is judged whether or not data of G₂ is required, and when it is required, an address G₂ is set, and serial communication is performed twice. Next, it is judged whether or not data of G₃ is required, and if it is required, an address G₃ is set, and serial communication is performed once, and processing returns. When the set mode is not group specifying, an address is set based on the address where the required data inputted from the card is stored (#362-7), and serial communication is performed by the number of times of serial communication inputted from the card (#362-8). In addition, in the communication (III), the address specifying type does not exist.

In FIG. 6, on completing the above-described data communication (III), processing proceeds to step #460, and the micro-computer μC performs exposure operations.

Description is made for the flow of this control according to FIG. 23-FIG. 27 together with Table 6. First, in FIG. 23, the micro-computer μC initializes light emission signal (output data to the electric flash apparatus)=1, forced flash ON=0, forced flash OFF=0 and GN restriction release =0 (#2000 to #2003). Next, in step #2004, the micro-computer μC judges whether or not the lens has been attached based on the inputted lens data. When the lens has not been attached, the micro-computer μC adds the film speed Sv and the exposure adjustment value ΔEv to the photometric value B_(VAM) of the photometric range LM₄ (in place of this, a value averaging the whole may be used), and thereby calculates the shutter speed Tv, and processing returns (#2005). Where the lens has been attached, it is judged by data inputted from the card whether or not forced P mode has been set (#2006), and in the case of the forced P mode, processing returns without performing exposure operation. Where the mode is not the forced P mode, exposure operation is performed responding to each exposure mode (#2010 to #2040).

Then, exposure operation of the P mode is shown in FIG. 24(a) to 24(c) to be explained. In step #2100 of FIG. 24(a), the micro-computer μC judges the against-the-light state by whether or not the difference between the photometric value B_(VAM) of the photometric range LM₄ and the spot photometric value Bvsp evaluated in step #445 is 2 Ev or more. If the difference is 2 Ev or more, in step #2105, judgment is made on whether or not the electric flash apparatus has been attached to the camera body (data STS₁ =1), and when it has been attached, a control exposure value Ev is evaluated from the photometric value B_(BAM) of the photometric range LM₄ and the like using Ev=B_(BAM) +Avo+Sv-1+ΔEv (#2115). Here, the reason why 1 is subtracted is because the background is raised by 1 Ev to pretend the counter light. The main subject is intended to be exposed properly by a flashlight from the electric flash apparatus. Then, processing proceeds to a subroutine (#2120) of a program I for determining the diaphragm aperture value Av and the shutter speed Tv, and further forced ON is set in step #2170, and returns. The above-mentioned program I is explained according to FIG. 24 (b). A control value Tvc of the shutter speed is set to a x-synchronizing speed of TV=7 (ss=1/125) in step #2200, and the diaphragm aperture value Av is calculated by subtracting 7 (shutter speed) from the exposure value Ev (#2205). And then whether or not this diaphragm aperture value is larger than 7 (F=11) is judged in step #2210, and when this value Av is larger, the control diaphragm aperture value Avc is limited to 7 (#2215), and processing returns. When the diaphragm aperture value Av is 7 or less, it is judged whether or not the calculated diaphragm aperture value AV is smaller than the open diaphragm aperture value Avo (#2220). When the calculated value Av is smaller, the open diaphragm aperture value Avo is set as the control diaphragm aperture value Avc(#2225). When the calculated value Av is not smaller, the calculated value Av is set as the control diaphragm aperture value Avc (#2230). Then, to release GN restriction of the electric flash apparatus, a GN restriction release flag is set to 1 (#2235), and a light emission signal is set (#2240), and processing returns. This is because, in the against-the-light state or the like, the diaphragm aperture is narrowed, and if GN is restricted, sometimes the main subject is not exposured properly by an electric flashlight. Then, this is also because the photographer selecting the P mode without assumption of a certain photographic scene or a certain photographic effect.

Reverting to FIG. 24(a), in step #2105, where the electric flash apparatus FL has not be attached, in order to achieve a proper exposure of the main subject, to control exposure value Ev is evaluated by Ev=Bvsp+Avo+Sv+ΔEv using the spot value Bvsp of the photometric range and the like (#2130), and processing proceeds to a subroutine (#2135) of a program II for evaluating the diaphragm aperture value Av and the shutter speed Tv, and returns through step #2170 where forced ON is set.

This subroutine is shown in FIG. 24(c) to be explained. First, in step #2250 of FIG. 24(c), the diaphragm aperture value Av is evaluated by Av=5/8 Ev-25/8, and judgment is made on whether or not this diaphragm aperture value Av is larger then the maximum diaphragm aperture value Avmax of the lens (#2255). When the value Av is larger, the maximum diaphragm aperture value Avmax is set as the control diaphragm aperture value Avc (#2260), and processing proceeds to step #2280. When the diaphragm aperture value Av is not larger than the maximum diaphragm aperture value Avmax in step #2255, judgment is made on whether or not the diaphragm aperture value Av is smaller than the open diaphragm aperture value Avo (#2265), and when the value Av is smaller, the open diaphragm aperture value Avo is set as the control diaphragm aperture value Avc (#2270), and when the value Av is not smaller, the diaphragm aperture value Av is set as the control diaphragm aperture value Avc (#2275), and processing proceeds to step #2280.

In step #2280, the shutter speed Tv is calculated by subtracting the control diaphragm aperture value Avc from the exposure value Ev, and in the next step #2285, judgment is made on whether or not this value Tv is larger than a highest shutter speed Tvmax. When the value Tv is larger, the control shutter speed Tvc is limited to Tvmax (#2290), and when the value Tv is not larger, judgment is made on whether or not the value Tv is smaller than a lowest shutter speed Tvmin. When the value is smaller, the lowest shutter speed Tvmin is set as the control shutter speed Tvc (#2293), and when the value Tv is not smaller, the calculated shutter speed Tv is set as the control shutter speed Tvc (#2295). Thereafter, the light emission signal is reset (=0) in order to inhibit light emission (#2298), and processing returns.

Reverting to FIG. 24(a), in step #2100, when the difference B_(vam) -Bvsp is less than 2, it is assumed not to be the against-the-light state, and processing proceeds to step #2145, and the exposure value Ev is calculated from the average photometric value (Bv₁ +Bv₂ +Bv₄)/4 of the photometric ranges LM₁ to LM₄, diaphragm aperture value Av and the shutter speed Tv are determined by the above-mentioned program II (#2150), and thereafter judgment is made on whether or not this shutter speed Tv is less than the blurring warning speed (Tv=6, 1/60) (#2155). Then, when the speed Tv is less than the blurring warning speed, judgment is made on whether or not the electric flash apparatus has been attached (#2160), and when it has been attached, the program I of flashlight emission is executed (#2165), and processing returns. When it has not been attached (including turn-OFF of power in the electric flash apparatus), processing sets forced ON in step #2170 and returns. Where the shutter speed Tv is not less than the blurring warning speed, processing returns without performing anything.

Next, description is made for a flowchart of determining the diaphragm aperture value Av and the shutter speed Tv in the A mode according to FIG. 25. First, judgment is made on whether or not the electric flash apparatus has been attached, and where it has been attached, the control shutter speed Tvc is set to 7 (1/125), and the set diaphragm aperture value Av is set as the control diaphragm aperture value Avc (#2300, #2305, and #2345), and processing returns. Where it has not been attached, the exposure value Ev is calculated from the average photometric value (#2315), and the value obtained by subtracting the set diaphragm aperture value Av from this exposure value Ev is et as the shutter speed Tv (#2320). Then, in the next step #2335, judgment is made on whether or not this shutter speed Tv is larger than the maximum controllable shutter speed Tvmax. When the speed Tv is higher, the maximum shutter speed Tvmax is set as the control shutter speed Tvc (#2330), and processing proceeds to step #2325. When the speed Tv is not higher, judgment is made on whether or not it is lower than the minimum controllable speed tvmin in step #2331, and when the shutter speed Tv is lower, the minimum shutter speed Tvmin is set as the control shutter speed Tvc in step #2333, on the other hand, when the speed Tv is not lower, the calculated shutter speed Tv is set as the control shutter speed Tvc in step #2335, and processing proceeds to step #2345 respectively. In step #2345, the set diaphragm aperture value Av is set as the control diaphragm aperture value Avc.

Next, description is made on control in the S mode based on FIG. 26. First, in step #2400, the exposure value Ev is evaluated from the average photometric value and the like, and in step #2405, judgment is made on whether or not the electric flash apparatus has been attached. Where it has been attached, in step #2415, it is judged whether or not the shutter speed Tv is 7 or less, and if it is 7 or less, the set shutter speed Tv is set as the control shutter speed Tvc (#2420), and if it exceeds 7, the synchronizing speed 7 is set as the control shutter speed Tvc (#2425), and processing proceeds to step #2430, respectively.

In step #2430, the diaphragm aperture value Av is calculated by subtracting the control shutter speed Tvc from the calculated exposure value Ev, and judgment is made on whether or not this diaphragm aperture value Av is smaller than the smallest aperture value Avo (#2435). When the value Av is smaller, the smallest diaphragm aperture value Avo is set as the control diaphragm aperture value Avc (#2440), and processing returns. On the other hand, where the diaphragm aperture value Av is not smaller than the smallest aperture value Avo, it is judged whether or not it is larger than the maximum diaphragm aperture value Avmax (#2445), and when it is larger, the maximum diaphragm aperture value Avmax is set as the control diaphragm aperture value Avc (#2450), and when it is not larger, the calculated diaphragm aperture value Av is set as the control diaphragm aperture value Avc, and processing returns.

In step #2405, when the electric flash apparatus has not been attached, the set shutter speed Tv is set as the control shutter speed Tvc (#2460), and processing proceeds to step #2430, executing the flow of this step and the subsequent steps.

Next, when the mode is the M mode (refer to FIG. 27), in step #2515, the diaphragm aperture value Av set in advance is set as the control diaphragm aperture value Avc, and in the following step #2520, the shutter speed Tv is set as the control shutter speed Tvc, and processing returns.

Reverting to FIG. 6, on completing exposure operation (#460), the micro-computer μC judges whether or not a signal of requesting extension of the required time before the communication (IV) is being sent from the card (#461), and when the signal has been sent, it waits for 10 msec (#463), and when the request signal is not being sent, it performs nothing, and performs a fourth data communication with the IC card CD, respectively (#465). In the case of the defocusing card, the operating time is extended, and therefore, this request signal is sent. A flowchart of this control is shown in FIG. 5(d) to be explained. First, it is judged based on the signal obtained by the communication (II) whether or not the communication (IV) is required, and when it is not required, processing returns. When it is required, the terminal CSCD is turned to the "H" level (#367), and serial communication is performed with the IC card CD (#375), and the IC card is informed that the IC card is the output side. Here, processing waits for a time (#377), and inputs data from the IC card by performing serial communication with the camera body set as the input side (#382), and on completing this data communication, turns the terminal CSCD to the "L" level, and returns.

A subroutine of data input in the above-mentioned step #382 is shown in FIG. 5(h) to be explained. First, in step #382-1, it is judged whether or not the set mode is group specifying, and when not group specifying, the address for inputting data in the communication (IV) is taken as the address inputted from the card (#382-11), and serial communication is performed by the number of times of input from the card (#382-12), and processing returns.

In the case of group specifying, the address of the register for input in the camera body is set responding to the number G₀, G₁ to G₂ of each communication, and serial communication of a predetermined number of times is performed. The contents of that data in the case of the address specifying type are as follows:

(i) In the case of the custom card, the data comprises two-byte data including data for selecting the above-mentioned functions, as shown in the following table. ##STR5##

(ii) Bracket card and H/S card

ΔAv--quantity of deviation of diaphragm aperture value

ΔTv--quantity of deviation of shutter speed

Next, description is made for the case of group specifying.

    ______________________________________                                         G.sub.0                                                                              Display data during setting serial communication                                   Av      Control diaphragm                                                              aperature value                                                        Tv      Control shutter speed                                                                            Serial                                     G.sub.1   Sv      Film speed        communication                                        C.sub.TRLB                                                                             b.sub.0 1 FL emission                                                                            of four times                                                2 FL emission inhibit                                                          b.sub.1 -b.sub.7 Missing numbers                             G.sub.2                                                                              ΔLp                                                                              Lens drive pulses Serial                                                       communication of one time                                        ______________________________________                                    

Reverting to FIG. 6, on completing the data communication (IV) with the card, the micro-computer μC outputs data to the electric flash apparatus ST (#467). This is shown in FIG. 11(b) to be explained. First, the micro-computer μC judges based on the data inputted from the card whether or not the card function is in the ON state (#467-1), and when it is not in the ON state, processing proceeds to step #467-10. When it is in the ON state, based on the control signal of the electric flash apparatus inputted from the card, judgment is made on forced ON, forced OFF, GN restriction release, and light emission respectively in steps #467-2, #467-4, and #467-8, and when the control signal shows forced ON, forced OFF, GN restriction release and non-emission of light respectively, they are set in steps #467-3, #467-5, #467-7 and #467-9, and when the above-mentioned four are not shown respectively, the signal is reset in steps #467-3', #467-5', #467-7' and #467-9' respectively, and processing proceeds to step #467-10. In step #467-10, a terminal CSFL is turned to the "H" level for a certain time T₂, showing to the electric flash apparatus that the set mode is the output mode of data from the camera body. The micro-computer μC of the camera body sets the input-output switching circuit I/OCG to the output side ("H"), and performs serial communication once after completion of a predetermined processing in the electric flash apparatus (#467-11 to #467-13).

In FIG. 6, on completing this card data communication (II), the micro-computer μC executes the flow of the card control in step #470. Based on the inputted data, this flow shows judgment on whether or not control of the camera body the IC card (in this case, the program card) is to be performed and operation of the camera in performing this control. This is shown in FIG. 28 to be explained. First, in step #2610, the micro-computer μC judges whether or not the camera body is controlled by the IC card based on the data inputted from the IC card CD, and when the camera is not controlled by the IC card, processing returns.

When it is judged that the camera is controlled by the IC card, judgment is made based on data of CS II-3-b₀, b₃ on whether or not the data inputted by the communication (IV) are of the diaphragm aperture value Av and the shutter speed Tv, and when the data are of Av and Tv, the control diaphragm aperture value Avc, the control shutter speed Tvc and the film speed Sv are determined from the data inputted from the IC card, respectively (#2615 to #2630).

When the above-mentioned data are not of Av and Tv, it is judged whether or not the data are of ΔAv and ΔTv (190 2635). Then, when the data are not of ΔAv and ΔTv, processing returns. When the data are of ΔAv and ΔTv, ΔAv is added to the control diaphragm aperture value Avc, ΔTv is added to the control shutter speed Tvc, and processing returns (#2640 to #2645).

On completing the judgment of control of the camera by the IC card and a routine (#470) of control thereof as described above in FIG. 6, processing moves to control of display (#471).

Table 5 shows the contents of data sent from the micro-computer μC to the display controlling circuit, and description is made thereon.

Concerning the display, the following two modes exist:

(i) mode performing display based on display data sent from the camera body and

(ii) mode performing display based on display data sent from the IC cards

Display data such as the shutter speed, diaphragm aperture value, number of film frames and the like are normally encoded and thereafter sent from the camera body to the display controlling circuit in which these data are decoded, and the lighting and putting out of predetermined segments for display is controlled. And thereby, the number of display data can be reduced. For example, the shutter speed is displayed by using four-digit display elements consisting of 7 segments respectively. If this display in intended to be controlled relative to the individual display element, data of 28 bits are necessary for that. On the other hand, if the display data of the shutter speed is encoded by setting the numerical values thereof to 1/4000 ("4000" is displayed) through 30 S ("30"" is displayed) by the 0.5 Ev, 35 kinds of data, in other words, data of only 5 bits are required. Accordingly, in the case of display control on the camera body side, data of numerical values are sent after code conversion, which advantageously results in reduction of the number of data bits used for data transfer.

For this code conversion, it is required to provide an interpreter. In this embodiment, in the camera body, encoded display data is generated for using the interpreter, and in the IC cards, display data is generated for controlling the segments of the displays directly without using the interpreter.

Here, among the data memorized in the display controlling circuit as shown on Table 5, first, description is made for display data on the camera body side.

First, concerning DISP₁,

Shutter speed (DP_(1H))--Encoded data of the shutter speed is memorized.

Diaphragm aperture value (DP_(2H))--Encoded data of the diaphragm aperture value is memorized.

AC mode (DP_(3H))--Among the P, A, S and M modes, the mode set at present is set.

Number of film frames (DP_(4H))--Encoded data of the number of film frames is memorized, and bits b₀, b₁ are control data of lighting, putting out and blinking of this data display.

Film rewinded state display (DP_(5H))--Data of displaying the mark which represents a patrone and the mark which represents that an end portion of a film is out of the patrone like a tongue (hereinafter, this is referred to as tongue), and a bit b₀ is a control data showing lighting and putting out of this data display.

Card display (DP_(6H), DP_(7H))--Bits b₁ and b₂ (address DP_(6H)) are data of lighting and putting out of the respective displays of ± of exposure adjustment, bits b₅ and b₆ (address DP_(6H)) show control of selection of one shot/continuous shot and putting-out of display thereof, bits b₀ and b₁ (address DP_(7H)) are control data of blinking, lighting and putting out of card mark display, and bits b₄ and b₅ (address DP_(7H)) show control of switch-over of display of multi-spot AF/spot AF and putting out thereof, respectively.

Data changed display (DP_(8H))--Locations showing data change and control of lighting and putting out are shown.

Control data (DP_(9H), DP_(AH))--Data showing the sequence of the camera.

b₀ --Putting out all display segments (the main switch S_(M) OFF)

b₁ --Standby (the main switch ON, and S₁ OFF)

b₂ --Card display

b₃ --During initial load

b₄ --S₁ ON

b₅ --During rewinding

b₆ --One-shot AF

b₇ --M. AF (Manual AF)

b₀ of DP_(AH) --Self mode

Next, concerning DISP_(II) by LED

b₀ --Presence/absence of infocus display

b₁ --Presence/absence of focus condition detection impossible

b₂ --Presence/absence of the follow mode

b₃ --Presence/absence of multi-spot AF

b₄ --AF/M

Hereinafter, description is made for display data on the card side.

DP_(1H) --7-segment data (b₀ to b₆) in the first position for the shutter speed, which is displayed on the left end side in the top area

b₇ --| (vertical line) of display "+"

DP_(2H) --7-segment data in the second position for the shutter speed, which is displayed in the second element from the left end

b₇ --(horizontal line) of display "+"

DP_(3H) --7-segment data in the third position for the shutter speed, which is displayed in the third element from the left end

b₇ --control of card display

DP_(4H) --7-segment data in the fourth position for the shutter speed, which is displayed in the fourth element from the left end

DP_(5H) --7-segment data (b₀ to b₆) in the first position for the diaphragm aperture value, which is displayed in the second element from the right end side

b₇ --control of decimal point display for the aperture value

DP_(6H) --7-segment data in the second position for the diaphragm aperture value, which is displayed on the right end side

DP_(7H) --14-segment data: the number is the double figure in the position for the number of film frames, which is located on the right end in the middle area

    ______________________________________                                                  DP.sub.8H --                                                                          b.sub.0 --missing                                                              b.sub.1 --missing                                                              b.sub.2 --A                                                                    b.sub.3 --M                                                                    b.sub.4 --S                                                                    b.sub.5 --P                                                                    b.sub.6 --patrone                                                              b.sub.7 --tongue                                               ______________________________________                                    

When display is performed based on data from the cards, a bit b₂ of data DP_(9H) is set to "1".

When numbering each segment as shown in FIG. 98, segments ○1 to ○7 correspond to bits b₀ to b₆ respectively, and in the case of displaying "3", segments ○1 , ○2 , ○4 , ○5 and ○6 are lit by a signal, bits "b₇ -b₀ " of which are set to " 0111011" ("1" represents lighting, "0" represents putting out and bit b₇ is wild).

In order to perform display in a blinking way, display data has only to be set to "1→0→1" cyclically. Relating to this blinking, needless to say, the above-described display control is performed, so that description on data change on the card side is omitted, and only the contents of display are illustrated.

A flowchart of the micro-computer for display controlling this display is shown in FIG. 29(b) to be explained. When a signal changing from "L" to "H" is inputted from a terminal CSCISP of the micro-computer μC of the camera body to the display controlling circuit DISPC, an interrupt as shown in FIG. 29(b) is executed, and display data from the camera body (refer to Table 5) is inputted by an amount of 12 bytes by performing serial communication (#D-5). It is judged from the inputted control data whether or not the set mode is the all erase mode (#D-10), and when the set mode is the all erase mode (DP_(9H), b₀ =1), all erase is set which displays nothing (#D-15). When the set mode is not the all erase mode (DP_(9H), b₀ =0), it is judged whether or not the set mode is the standby mode (#D-20), and when the set mode is the standby mode (DP_(9H), b₁ =0), display of the AC mode set at present is performed based on bits b₀ and b₁ of DP_(3H) (#D-25). The card is displayed based on information on DP_(6H) and DP_(7H), and the position of the triangular cursor is displayed based on data of data change display of DP_(8H), and the other lights are put out. FIG. 29(c) shown an example thereof. FIG. 29(c) represents display of the P mode, presence of the card function, the cursor mark Δ at the position of exposure adjustment, absence of exposure adjusting function, the one-shot mode and the multispot AF mode.

When the set mode is not the standby mode in the above-mentioned step #D-20, it is judged whether or not the state is initial load (#D-45). When the state is initial load (DP_(9H), b₃ -1), only display of number of film frames (DP_(5H)) and marks of patrone and tongue are displayed, and the other lights are put out (#D-50 to #D-60). FIG. 29(d) shows the display of DISP₁ while a film is loaded and the state is under initial load. During rewinding (DP_(9H), b₅ =1), a display "- -" in FIG. 29(d) shows the state under rewinding at that time.

When the film is not under rewinding, it is judged whether or not the set mode is card display (#D-70). In the case of card display (DP_(9H), b₂ =1), data of DP_(1H) is decoded, card name display is performed, and the numerical value is displayed based on data or DP_(2H), display of "during selection" representing selection by the IC card is performed using bits b₂ to b₆ of DP_(3H), and further numerical value display is performed based on data of DP_(4H), and control of display of the card is performed based on bits b₀ and b₁ of DP_(7H) (#D-57 to #D-95). Detailed description is made later for display of this card. When the judgment is step #D-70 results in that the set mode is not the card display mode. processing proceeds to step #D-105, and judges whether or not the switch S₁ has been turned to ON, and when it has been turned to ON, performs in-finder display based on in-finder information (#D-110), and when it has not been turned to ON, does not perform in-finder display, proceeds to step #D-115, respectively.

Thereafter, display of the shutter speed ss is performed based on information of DP_(1H), display of the diaphragm aperture value is performed based on information of DP_(2H), display of the AE mode is performed based on bits b₀ and b₁ of DP_(2H), display of the number of film frames is performed based on DP_(3H), display of patrone is performed based on DP_(4H), display of data relating to the card is performed based on information of DP_(6H), and DP_(7H), display of data change (Δ) is performed based on information of DP_(8H), and display of the AF mode and self is performed based on bits b₆ and b₇ of DP_(9H), and a bit DP_(10H), (#D-115 to #D-155).

Next, description is made for one example thereof in reference to FIG. 29(a) showing a flowchart of display control of the camera body side (preparation of display data). First, in step #2700, it is judged based on the data obtained by the communication (II) with the card whether or not the set mode is card display control, and when the set mode is card display control, the mode of outputting the information inputted from the card at it is set, and serial communication is performed 12 times (#2705 to #2730). On the other hand, when the set mode is not the card display control, the mode of outputting encoded data prepared by the camera body (the shutter speed, the diaphragm aperture value, the number of film frames and the like--refer to FIG. 29(e) is set (#2710), and serial communication is performed 12 times (#2720). Next, in step #2735, it is judged based on the data inputted from the card whether or not the card side has authority to control a buzzer, and when the card side has the authority of control, judgment is made on whether or not a blurring warning signal has been given from the card (#2740). When the blurring warning signal has been given, warning by buzzer is performed (#2745), and processing proceeds to step #2765. When the blurring warning has not been given, processing proceeds to step #2765 without giving warning by buzzer. That is, the set of presence or absence of warning by buzzer based on the cusom card is ignored. When the card has no authority of controlling the buzzer, judgment is made on whether or not the shutter speed determined by the camera body is less than 6 (#2750), and when it is not less than 6, processing proceeds to step #2765. When the speed is less than 6, it is judged based on the data inputted through the communication (II) whether or not the card function has been turned to ON, and when it has not been turned to ON, it is judged by the data of the E² PROM in the camera body whether presence or absence of warning by buzzer has been set (#2754), and when the presence has been set, warning by buzzer is performed, and when the absence has been set, no warning by buzzer is performed, and processing proceeds to step #2765.

When the card function has been turned to ON, judgment is made on whether or not the set card is custom card (#2758), and when the set card is not the the custom card, processing proceeds to camera control, performing the above-described control. When the set card is the custom card, it is judged base don data of the communication (IV) inputted from the card whether or not warning by buzzer is present (#2760), and when it is present, warning by buzzer is performed (#2756), and processing proceeds to step #2765. On the other hand, when it is not present, processing proceeds to step #2765 without performing warning by buzzer. In step #2765, judgment is made on whether or not a signal of control of writing to the E² PROM has been inputted from the custom card, and when it has been inputted, two bytes of data EECSTM from the custom card through the communication (IV) is written (#2770), and processing proceeds to step #2775. When the signal of write control has not been inputted, processing skips over the step #2770 and proceeds to step #2775. Step #2775 is a subroutine of performing mode setting.

Here, a subroutine of the above-mentioned mode setting is shown in FIG. 29(f) to be explained. Here, judgment is made on whether or not the mode set at present is the camera body is among modes set anew, and if not, it is moved to another set mode. For example, where the A mode has been set at present, but the A mode has been excluded from selection of the exposure mode by the IC card, it is improper to perform the A mode display and control thereof as before, and therefore this is prevented.

Now, in the flow of FIG. 29(f), first the micro-computer μC judges by comparing the data of the E² PROM with the data inputted from the IC and CD whether the exposure mode capable of setting has been changed (#3203), and when they differ from each other (that is, when a change has been made), data (Fb₀, Fb₁) is set to (0, 0) to set the exposure mode forcedly to the P mode (#3205), and processing returns.

On completing the above-described display control (#471) in FIG. 6, the micro-computer μC proceeds to step #472, and judges whether or not self time counting is being made, and when time counting is being made (SPL=1), it judges whether or not 10 seconds have elapsed (#474). When 10 seconds have elapsed, processing proceeds to step to control exposure (#490). When 10 seconds have not elapsed, it returns to step #180. When self time counting is not being made (SPL=0), processing proceeds to step #473, and judgment is made on whether or not the release switch S₂ has been turned to ON, and when the switch S₂ has not been turned to ON (IP₇ ="H"), processing proceeds to step #520, and permits all interrupts, and returns. When the switch S₂ has been turned to ON (IP₇ ="L"), the micro-computer μC judges whether or not the data of release inhibit obtained by the communication (II) has been set (#475), and when the data has been set, processing proceeds to step #520. On the other hand, when the data has not been set, the micro-computer μC judges whether or not self mode has been selected, and if not selected (SELFF=0), processing proceeds to step #481.

When the self mode has been selected (SELFF-1), the flag SLP showing self time counting is et (#477), and time counting timer (separate from power hold timer) is reset and started (#478). Then, to perform power hold, the flag OFF is set (#479), an AE lock flag AELF is set (#480), the measured value is fixed, and processing proceeds to step #180.

In step #481 whereto processing proceeds when the set mode is not the self mode (IP₁₂ ="H") in step #476 of FIG. 6, judgment is made on whether or not the set mode is the manual focus mode [MFF=1 (Focus lock, or manual focus condition adjustment only for focus condition detection)], and if the set mode is the manual focus mode, processing proceeds to step #490. When the set mode is not the manual focus mode, processing proceeds to step #485. In step #485, judgment is made on whether or not the flag AFEF showing infocus state has been set, and when the flag has not been set, processing passes through the step #520 and returns. When the flag AFEF has been set, processing proceeds to step #490 likewise the above-mentioned case where the set mode is not the AF mode, inhibits all interrupt, and subsequentially performs the communication (V) with the card is step #492.

This is shown in FIG. 5(e) to be explained. First, the micro-computer μC judges the presence or absence of the communication (V), and when it is absent, returns, and when it is present, turns the terminal CSCD to the "H" level (#390), sets data showing the communication (V) (#391), sets the camera body as output side (#392), and performs serial communication once (#393). Next, processing waits for predetermined time (#394), and the camera body is set as input side (#395), serial exchange is performed eight time (#396), the terminal CSCD is turned to the "L" level (#397), and processing returns.

This data is data for memory of the memory card.

Here, description is made for the contents of data as shown on Table 6.

(i) Number of film frames

(ii) Open F value Avo

(iii) Control F value Avc

(iv) Control shutter speed Tvc

(v) Exposure adjustment value

(vi) Exposure mode

(vii) Exposure mode

(viii) Film speed

On completing the communication (V), processing proceeds to step #495, and performs exposure control (as described later). Thereafter one-frame winding of the film (as described later) is performed in step #500, and judgment is made on whether or not the release switch S z is in the ON state in step #505, and when the switch S z is in the ON state (IP₇ ="L"), the micro-computer μC judges whether or not a signal is formed continuous advancing has been inputted from the card. When the signal has been inputted, processing proceeds to step #515, and when the signal has not been inputted, it is judged in step #510 whether or not the mode continuous-advancing is set. Here, in the case of the continuous-advancing mode (Fb₃ =1), all interrupts are permitted in step #515, and processing proceeds to the routine SO. When the mode is not in continuous-shot mode (Fb₃ =0), processing returns to step #505, and waits until the release switch S₂ is turned to OFF. And when it is turned to OFF, processing permits all interrupts is step #520, and returns.

Next, a subroutine of exposure control in the above-mentioned step #495 is shown in FIG. 30(a) to be explained. First, in step #2805, the terminal CSST is turned to the "H" level for a time t₃, and it is shown to the electric flash apparatus ST that the set mode is the exposure mode. Then, the film speed Sv is outputted to the light adjusting circuit STC after D/A conversion into analog data (#2810). In the next step #2815, diaphragm aperture control is performed based on the control diaphragm aperture value Avc, and mirror-up control is performed. Next, lens drive is performed during release. This is shown in FIG. 30(b) to be explained. First, judgment is made on whether or not the card function is in the ON state (#2922-0), and in the case of ON, judgment is made on whether or not a signal of snap drive bit showing lens drive during release inputted from the IC card has been inputted in step #2822-1, and when the signal showing the card function OFF on snap drive has not been inputted, processing proceeds to step #2822-4, and waits until completion of mirror-up. And when the mirror-up is completed (IP₂₀ ="L"), processing returns. When the above-mentioned signal has been inputted, the lens is driven by a quantity Δn of lens drive inputted from the card (#2822-3), and is stopped (#2822-4), and processing waits until completion of the mirror-up (#2822-5). On completing the mirror-up (IP₂₀ ="L"), processing returns.

Reverting to FIG. 30(a), control of the shutter speed is performed (#2825), and control of lens drive REL II during release is performed (#2830), and processing returns. This is shown in FIG. 30(c) to be explained. First, judgment is made on whether or not the card function is in the ON state (#2830-0), and in the case of OFF, processing returns. In the case of ON, judgment is made on whether or not the signal of snap drive bit has been inputted (#2830-1), and when it has been inputted, the lens is driven by a quantity -Δn which is reverse to the above-mentioned quantity (#2830-2), and is stopped (#2822-4), and processing returns,. When the above-mentioned signal of bit has not been inputted, judgment is made on whether or not the defocusing card has been inserted (#2830-5). If the set card is not the defocusing card, processing returns. When the set card is the defocusing card, the number CNT of counted pulses of the present position of the driven lens is taken as CT" (#2830-6), and the difference Δn between CT" and CT' at the position before lens drive is calculated (#2830-7), and processing proceeds to step #2830-2, performs control like the above-described, and returns.

A routine of Tv control in the above-mentioned step #2825 of FIG. 30(a) is shown in FIG. 30(d) to be explained. First, the micro-computer μC changes Tv to a exposure time T (#2835), and resets and starts a timer for measuring exposure time (#2836), and starts first-curtain (not illustrated) running of the shutter. Then, judgment is made on whether or not the card function is in the ON state (#2838), and in the case of OFF, processing moves to a flow (#2846) of waiting for the exposure time T to elapse. On the other hand, in the case of ON, judgment is made on whether or not the set card is the defocusing card (#2839). When the set card is the defocusing card, pulse count of the present position of the lens is stored as CT' (#2840), and processing is performed so that th exposure time T becomes T/4 (#2841). When the exposure time T becomes t/4, the direction of lens drive toward the far side or the near side is detected based on information of ΔLp inputted from the card (#2842), and the direction is set responding thereto, and the lens is driven at a highest speed (#2845). A counter monitoring the position of move-out of the lens is operated also at this time. Then, at this time, or when the set card is not the defocusing card, processing is performed so that the exposure time becomes T (#2846), and when T is reached, second-curtain (not illustrated) running of the shutter is started (#2847), and the time when the running will be completed is waited (#2848), and the motor for driving the lens is stopped (#2849), and processing returns.

FIG. 31(a) and 31(b) show flowcharts of control of one-frame winding-up of the film as shown in step #500 in FIG. 6. Description thereon is made as follows. In FIG. 31(a), the micro-computer μC outputs a film wind-up signal to a motor controlling circuit MD, and resets and starts a timer T₃ (#2850, #2855). This timer is for detecting that the film is wound up to the final frame and the film tenses up. In step #2860, the micro-computer μC judges whether or not the switch S_(WD) showing that one frame has been wound up has been turned to ON. Here, where it has not been turned to ON, the micro-computer μC judges whether or not two seconds the elapsed in this state in step #2865. And where two seconds has elapsed, it performs control of stopping the motor (#2870), and assumes that the film tenses up, and performs control for this tension of the film (#2875). Next, a cancel signal for canceling the or autoshift function for continuous photographing is set to 1 (#2876), and data communication (I) is performed once (#2877), and processing returns. A subroutine for the above-mentioned tension is shown in FIG. 31(b) to be explained. In step #2930, a signal of reverse rotation of the motor is outputted, and processing waits until the film detecting switch S_(FLM) is turned to OFF (#2935). Subsequently, when the switch S_(FLM) is turned to OFF, processing performs motor stp control to wind the film into the patrone chamber (#2955), and returns.

Reverting to FIG. 31(a), in step #2860, when a one-frame switch S_(WD) is turned to ON, control of stopping the motor is performed in step #2880. And thereafter, it is judged in step #2885 whether or not the film has been attached, and when the film has been attached, the count number N₁ of a counter showing the number of exposed film frames is increased by 1 (#2890) and processing proceeds to step #2900. When the film has not been attached, processing proceeds to step #2900 without changing the count number N₁. In step #2900, this number N₁ of film frames is written to the E² PROM.

Next, when the rear lid close detecting switch S_(RC) or the rewinding switch S_(RW) is operated, a pulse signal is inputted to a terminal INT₂, and the micro-computer μC executes an interrupt INT₂ as shown in FIG. 32. In the flow in FIG. 32, first, the micro-computer μC inhibits an interrupt to this flow (#3000), and thereafter in step #3005, detects whether or not the rewinding switch S_(RW) has been turned to ON. Where it has been turned to ON, the micro-computer μC executes a routine of rewinding as shown in FIG. 31(b) to perform a rewinding operation (#3010). And further, processing sets the N₁ to zero (#3011), permits an interrupt (#3100), and returns. When the rewinding switch S_(RW) has not been turned to ON, the rear lid close detecting switch S_(RD) is assumed to be turned to ON, and further the cancel signal (used in the communication (I)) is set to 0 for returning the bracket or autoshift function (#3012), and processing proceeds to step #3015. In step #3015, judgment is made on whether or not the film exists. Where no film exists, accordingly where the film detecting switch S_(FLM) is in the OFF state, processing proceeds to step #3100 via the above-mentioned step #3011. On the other hand, where the film exists (that is, where the switch S_(FLM) is in the ON state), a terminal CSDX is set to the "H" level, and serial communication is performed with a film speed reading circuit DX and thereby film speed data Sv and the number N of exposed film frames are inputted into the micro-computer μC, and on completing the communication, the terminal CSDX is set to the "L" level (#3020-#3030). Then, the number N, is set to -2 (#3035). Subsequently the terminal CSDISP is set to the "H" level, and serial communication is performed with the display controlling circuit DISPC (#3045), and a signal showing the initial loading (DP_(9H), b₃ =1) and data of the number of film frames are outputted, and thereby only the data showing the number N, of film frames is displayed. On completing the serial communication, the terminal CSDISP is set to the "L" level (#3050). The numeric value of the number N₁ of film frames is displayed using two seven-segment digits.

Next, the micro-computer μC outputs a signal instructing winding-up of the film to a wind-up controlling circuit (#3055), and waits until winding-up of one frame ends (#3060). Here, when the one-frame switch S_(WD) is turned to ON, the micro-computer μC adds 1 to the number N₁ of film frames (#3065), and judges whether or not the numeric value has become 1 (#3070), and if it has not become 1, returns to step #3040. If it has become 1, processing proceeds to step #3075, and the motor is stopped, and proceeds to step #3095. Then, in step #3095, the above-mentioned N₁ and the film speed are written to predetermined addresses of the E² PROM, and after the write has been completed, all interrupts are permitted (#3100), and processing returns.

In the above, description has been made on the operation of the micro-computer μC of the camera body of this embodiment using various flowcharts, and next, description is made on controls of the IC cards attached to this camera using flowcharts. Description for control operations of the respective IC cards is made in a separate manner. The micro-computer μC₂ incorporating the E² PROM is incorporated in the IC card CD.

(1) Custom card

First, description is made on operation of the custom card.

Hereinafter, micro-computers of the respective cards are designated as μC₂.

The micro-computer μC₂ of the custom card executes a routine of resetting as shown in FIG. 33 when the card is attached to the camera. First, it resets all of the flags and the registers (RAM) (C-5), and moves information stored in the E² PROM to the RAM (EECST Mo,₁) (C-10). Thereafter processing sleeps.

Next, when signal changing from "L" to "H" is sent from the camera body to the terminal CSCD of this card, the micro-computer μC₂ of the custom card executes a routine of an interrupt as shown in FIG. 34. Here, in synchronism with clock pulses sent from the camera body, serial communication is performed once (C-15) to input data showing the kind of communication into the micro-computer μC₂.

The kind of communication to be done is judged from the data obtained by this communication (C-20), and when the kind of communication is the communication (I), the card is set as the data input side (C-25), and serial communication is performed three times (C-30) to receive data (refer to Table 6 and Table 12) from the camera body. Based on this data, the micro-computer μC₂ executes a subroutine of data setting (C-35), and processing sleeps.

Here, prior to description on the above-mentioned subroutine, description is made of what sorts of data are outputted from the card in response to communication.

In the communication (II),

all signals other than the following signals are set to "0".

    ______________________________________                                          Card performs display control                                                                        CS II - 1 - b.sub.4                                     Card function ON/OFF   CS II - 1 - b.sub.5                                     Communication(V) NO (=0)                                                                              CS II - 2 - b.sub.2                                     Release inhibit        CS II - 2 - b.sub.3                                     AF inhibit             CS II - 2 - b.sub.7                                     E.sup.2 P write        CS II - 3 - b.sub.2                                     TV · Av/display data (=0)                                                                    CS II - 3 - b.sub.3                                     Communication(IV) EXIST (=1)                                                                          CS II - 3 - b.sub.4                                     Communication(III) NO (=0)                                                                            CS II - 3 - b.sub.5                                     Communication type     CS II - 3 - b.sub.6                                     Photometric loop repeat                                                                               CS II - 3 - b.sub.7                                     Card is custom card (=1)                                                                              CS II - 3 - b.sub.5                                     ______________________________________                                    

signals marked with on the tables are set to "1" or "0" in response to the respective cases, and the control thereof is put the ON state at "1", and put in the OFF state at "0". The determined signals are set to "0" or "1" in a fixed manner. In the communication (II), in addition to the above signals, the number (twice) of communication data of direct address type in the communication (IV) and the address thereof (CS II-7,8) exist. Since in the communication (III) the group communication does not exist, CS II-9-(b₁, b₂)=0,0 is set. Since the communication (IV) needs only of display data, CS II-10-b₁ =1 is set. The others are set to "0".

In addition, any data can be entered in blank spaced on the above-mentioned table.

In the communication (IV), data (EECSTM₀,1) of two bytes which indicate the functions capable of change are outputted.

In the communication (VI), a signal of sleep for μC₂ possible/no is sent.

Next, a subroutine of data setting is shown in FIG. 35(a) to be explained. First, in steps C-146 to C-149, display control data (CS II-1-b₄) is initialized to "0", release inhibit (CS II-2-b₃) to "0", AF inhibit (CS II-2-b.sub. 7) to "0", and photometric loop repeat (CS II-3-b₇) to "0", and subsequently in step C-150, judgment is made on whether or not the write signal (CS II-3-b₂) to the E² PROM in the communication (II) (this signal corresponds to b₂ of CS II-3) is 1, and where the signal is "1", it is assumed that the write data has been already outputted to the camera body the last time, and this is set to "0" (C-155), and processing proceeds to step C-160. Where the signal is "0", processing proceeds to step C-160 without performing anything. Next, in step C-160, judgment is made on whether or not a signal DISREQ (request of card name display) obtained by the communication (I) is "1", and where the signal is "1", display control data is set to "1", card display function ON/OFF (CS II-1-b₅) to ON (1), E² P write to NO (0), and data of group specifying to (0) (C-170˜C-195). Subsequently, judgment is made on whether or not the flag S₁ F has been set (C-200), and where the flag has not been set, assuming that processing passes through this flow for the first time, the flag S₁ F is set (C-205), and the timer is reset and started (C-210), and processing proceeds to step C-215. When the flag S₁ F has been set, processing jumps directly to step C-215. In step C-215, judgment is made on whether or not 10 seconds has elapsed from the start of the above-mentioned timer, and where 10 seconds has not elapsed, the photometric loop repeat signal (CS II-3-b₇) is set to "1" (C-220), and data performing only display of the card name and display of showing ON state of the card function are set (C-222), and processing returns. FIG. 37 shows this display. On the other hand, where 10 seconds has elapsed, the flag S₁ F is reset (C-226), and display control data is set to "0" (C-227), and processing returns.

If DISREQ=0 in the above-mentioned step C-160, processing proceeds to step C-162, and judgment is made on whether or not IP₅ is "L" (that is, any of the switches S_(EM),S_(FUN),S_(CD),S_(CDS) and S₁ is in the ON state), and when IP₅ is "L", the display flag showing control performing card name display is reset (C-163), and when IP₅ is not "L", processing proceeds to C-165 respectively without performing anything. After resetting the flag S₁ F in this step C-165, processing proceeds to step C-260 in FIG. 35(b), and judgment is made on whether or not the signal SELF (CS II-1-b₃) obtained by the communication (II) is "1".

Here, when the signal is "1", processing returns to inhibit control by operation of the switches of the camera body (relating to the card). When the signal SELF is not "1", judgment is made on whether or not the card setting switch S_(CDS) has been turned to ON (C-265).

When the switch has been turned to ON, in step C-270, judgment is made on whether or not the flag (CDSF) showing that processing has passed herethrough has been set, and if the flag has been set, processing proceeds directly to step C-276, and if the flag has not been set, this flag is set (C-275) and thereafter processing proceeds to step C-276. In this step C-276, judgment is made on whether or not data is under setting, and if not under setting, processing jumps to step C-405, and performs display control entering the setting mode. If data is under setting (SETF=1), processing returns without performing display control because operation has been made to release under-setting when the switch is in the OFF state in step C-265, processing proceeds to step C-280, and judges whether or not the flag (CDSF) has been set, and when it has not been set, proceeds to step C-310. When it has been set, this is reset (C-285), and judgment is made on whether or not the flag SETF showing that data is under setting has been set in step C-290, and when the flag has been set, this is reset (C-295), and E² PROM write signal (a signal of write to the E² PROMs in the camera and the card) is set to 1 (C-300), and direct addressing=1 is set, and processing proceeds to step C-310. Thereby, processing releases under-setting, and causes the camera body to write data from the card to the E² PROM in the camera body. When the flag SETF showing under-setting has not been set, processing sets this flag (C-305), enters the data setting mode, and proceeds to step C-310. In step C-310, if data is under-setting (SETF=1), judgment is made on whether or not the card switch S_(CD) has been turned to ON from data by the communication (II) (C-315), and where it has been turned to ON (S_(CD) =1), judgment is made on whether or not the flag CDF showing that processing has passed herethrough has been set (C-320), and when it has been set, processing proceeds to step C-345, and when the flag has not been set, processing sets this flag (CDF=1) in step C-325, advances the changing mode in a sequence of 1→2→3→1, and proceeds to step C-345.

Here, the changing modes are as follows:

1--Selection of combination of the AE mode

2--Selection of the AF mode

3--Blurring warning by buzzer EXIST/NO

In the above-mentioned step C-315, where the card switch S_(CD) has not been turned to ON, in step C-335, judgment is made on whether or not the flag CDF has been set, and where it has not been set, assuming that nothing has been operated, processing proceeds to step C-345, and when it has set, assuming that the switch S_(CD) has turned from ON to OFF, this flag is reset in step C-340, and then processing proceeds to step C-345. In step C-345, judgment is made on whether or not the up switch Sup has been turned to ON, and when it has been turned to ON (Sup=1), it is judged whether or not the mode is 1 (C-350), and when the mode is 1, processing proceeds in sequence of 1→2→-7→8→-, and after 8, returns to 1 (C-355).

Here, in the mode 1,

    ______________________________________                                                    1-- P                                                                               A     M     S                                                             2-- P                                                                               A     M                                                                   3-- P                                                                               A           S                                                             4-- P                                                                               A                                                                         5-- P      M     S                                                             6-- P      M                                                                   7-- P            S                                                             8-- P                                                               ______________________________________                                    

In the mode 2, processing proceeds in a sequence of 1→2→3, and after 3, returns to 1 (C-365).

Here,

1--focus lock

2--continuous AF

3--spot AF

where the mode is 3, processing proceeds in a sequence of 1←→2 (C-370).

Here,

1--blurring warning by buzzer

2--No blurring warning by buzzer

On completing change in each mode, processing proceeds to step C-405. When the up switch Sup is in the OFF state, judgment is made on whether or not the down switch Sdn has been turned to ON (C-375), and when it has not been turned to ON, processing proceeds to step C-405. The case where it has been turned to ON differs from the case of the above-mentioned up switch Sup only in that the changing direction is reverse, and therefore description thereon is omitted.

On completing processing of the up switch Sup or the down switch Sdn, processing proceeds to step C-405 and the subsequent steps, and performs the following setting display control=1, release inhibit=1, AF inhibit=1, group specifying=0, and photometric loop repeat=1, and sets data of display of under-data-setting, and returns. In addition, this display of under-setting is described later. Thereby, the micro-computer μC of the camera body executes the functions of display control by the card, release inhibit, AF inhibit, and continuing display irrespective of the power holding timer of the camera.

In the above-mentioned step C-310, if judgment is made not to be "under-setting" (SETF=0), processing proceeds to step C-430 in FIG. 35(c), and it is judged whether or not the card switch S_(CD) has been turned to ON, and when the card switch S_(CD) is in the OFF state, in step C-460, this flag CDF is reset, and judgment is made on whether or not the display flag has been set (C-462), and when it has not been set, processing returns. When it has been set, processing proceeds to step C-170 in FIG. 35(a), and performs control of display of the card name. In the above-mentioned step C-430, when the card switch S_(CD) is in the ON state, judgment is made on whether or not the flag CDF showing that processing has passed herethrough has been set (C-435), and when it has been set, assuming that the switch is kept operating, processing proceeds to step C-462. When the flag CDF has not been set, this flag is set (C-440), and in the following step C-445, judgment is made on whether or not the card function is in the ON state based on data CS II-1-b₅ at present, and where it is in the ON state (CS II-1-b₅ =1), it is set to OFF (data of the communication II) (C-450), and the display flag is reset (C-451), and processing returns. In reverse, where the function is in the OFF state (CS II-1-b₅ =0), it is turned to ON (data of the communication II) in step C-455, and the display flag is set in step C-456, and processing proceeds to step C-170, performing control of display of the card name.

Reverting to FIG. 34, when communication is not (I) in step C-20, judgment is made on whether or not the communication is (II) in step C-40, and when the communication is (II), serial communication is performed ten times (C-50) with the card set as the output side (C-45) to output the above-mentioned set data to the camera body, and processing sleeps.

When communication is not (II), whether or not the communication is (IV) is judged in step C-55, and when the communication is (IV), the card is set as the output side (C-60), and whether or not data is of group specifying is judged in step C-65, and when the data is of group specifying, display data is outputted (C-70), address is set, and serial communication is performed nine times (C-75), and processing proceeds to step C-90. When the result is not group specifying (direct addressing), the function change data EECSTM is addressed (C-80), and serial communication is performed twice (C-85), and processing proceeds to step C-90. In step C-90, it is judged whether or not an E² PROM write signal has been set, and when it has been set, a write control signal is outputted to write two-byte data of EECTSM to predetermined addresses of the E² PROM (C-95). Write to the E² PROM is performed by a hardware, and the micro-computer μC₂ has only to send a control signal. Then, a write end signal (on completing to write, this signal is set automatically by a hardware) is reset (C-100), and processing sleeps. When the write signal is not inputted, processing sleeps immediately. When the communication is not (IV) in step C-55, assuming that it is the communication (VI), first, it is judged by the above-mentioned end signal whether or not write has been completed (C-105), and when write has been completed, a sleep-permitting signal is set (C-110), and when it has not been completed, a sleep-inhibiting signal is set (C-115), and processing proceeds to step C-120 respectively. In step C-120, the card is set as the data output side, and serial communication is performed in response to clock pulses from the camera body (C-125), and processing sleeps.

FIG. 36 shows the content of display at setting. When the mode is the normal display mode (A), by depressing the card setting key S_(CDS), as shown in (B), "CuST-1" indicating the custom cad are displayed in the upper portion and "1" is displayed at the position for normally displaying the number of film frames in the middle portion and blinking of the card mark is performed in the lower portion. When the card setting key is turned to OFF in this state, setting of combination of the exposure modes is performed. As shown in (C)-(J), out of the above-mentioned exposure modes, the selected exposure mode is displayed in a blinking fashion, and the numerical value in the position normally for the film frames is displayed in a blinking fashion, and by turning the up-down key to ON, display proceeds in the direction as shown in the figure, and the combination of the exposure modes and the value of the number of film frames are varied.

Furthermore, when the card key is turned to ON, as shown in (K)-(M), the display turns to "CuSt-2" to show the mode by the switch S_(q). By turning the up-down key to ON, the numerical value at the position for the number of film frames changes as follows; 1←→2←→3←→1. Next, when the switch S_(CD) is turned to ON, as shown in (N) and (O), the display turns to "CuSt-3", and by turning on the up-down key, the numerical value at the position for the number of film frames changes as follows; 1←→2. By the next turn-on of the switch S_(CD), processing goes to exposure mode setting. By depressing the switch S_(CDS) in this state, the display turns to the normal display.

(2) Data memory card

Next, description is made on operation of the data memory card.

The micro-computer μC₂ of the data memory card executes a routine of resetting in FIG. 38 when this card is attached to the camera body, resets all of the flags and the registers (RAM) (D-5), and processing sleeps.

Next, when a signal changing from "L" to "H" is sent from the camera body to the terminal CSCD of this card, the micro-computer μC₂ of the data memory card executes a routine of an interrupt as shown in FIG. 39.

Here, in synchronism with clock pulses sent from the camera body, serial communication is performed once to input data showing the kind of communication into the micro-computer μC₂ (D-10).

The kind of communication to be done is judged in step D-15 from the data obtained by this communication, and when the kind is the communication (I), the card is set as the data input side (D-20), and serial communication is performed three times (D-25) to receive data (refer to table 6 and table 13) from the camera body. Based on this data, the micro-computer μC₂ executes a subroutine of display control in step D-30, and processing sleeps.

Here, prior to description on the above-mentioned subroutine, description is made on what sorts of data are outputted from the card in response to communication while using a data memory card table.

In the communication (II),

all signals other than the following signals are set to "0".

    ______________________________________                                          Card performs display control                                                                        CS II - 1 - b.sub.4                                     Card function ON/OFF   CS II - 1 - b.sub.5                                     Communication(V) EXIST (=1)                                                                           CS II - 2 - b.sub.2                                     Release inhibit        CS II - 2 - b.sub.3                                     AF inhibit             CS II - 2 - b.sub.7                                     Tv · Av/display data (=0)                                                                    CS II - 3 - b.sub.3                                     Communication(IV)      CS II - 3 - b.sub.4                                     Communication(III) NO (=0)                                                                            CS II - 3 - b.sub.5                                     Group specifying                                                               Communication type (=0)                                                                               CS II - 3 - b.sub.6                                     Photometric loop repeat                                                                               CS II - 3 - b.sub.7                                     ______________________________________                                    

Signals marked with on the table are set to "1" or "0" in response to the respective cases, and the control thereof is put in the ON state at "1", and put in the OFF state at "0". Since the communication (II) in group communication does not exist, CS II-9-(b₁,b₂)=0,0 is set. Since only display data are transmitted in the communication (IV), CS II-10-b₀ =1 is set.

In addition, any data can be entered in blank spaces on the above-mentioned table.

In the communication (VI), a signal of sleep possible/no is sent.

In the communication (V), memory data is sent from the camera body.

Next, a subroutine of data setting is shown in FIG. 40 to be explained. First, in steps D-150 to D-155, display control data (CS II-1-b₄) is initialized to "0", release inhibit (CS II-2-b₃) to "0", AF inhibit (CS II-2-b₇) to "0", and judgment is made on whether or not a signal DISREQ (request of card name display) obtained by the communication (I) is "1" in step D-160, and where the signal is "1", display control data is set to "1", display control data is set to "1", performing card name display (D-170). Subsequently, it is judged whether or not the flag S1F has been set in step D-200, and where the flag has not been set, assuming that processing passes through this flow for the first time, the flag S1F is set (D-205), and the timer is reset and started (D-210), and thereafter processing proceeds to step D-215. When the flag S1F has been set, processing jumps directly to step D-215. In step D-215, judgment is made on whether or not 10 seconds has elapsed from the start of the above-mentioned timer, and where 10 seconds has not elapsed, the photometric loop repeat signal (CS II-3-b₇) is set to "1" (D-220), and data performing only the card name display and the card mark display is set (D-222), and processing returns. FIG. 41(b) shows this display. On the other hand, where 10 seconds has elapsed, the flag S1F is reset (D-226), and display control data is set to "0" (D-227), and processing returns.

If DISREQ=0 in the above-mentioned step D-160, processing proceeds to step D-162, and judgment is made on whether or not IP₅ is "L" (that is, any of the switches S_(EM),S_(FUN),S_(CD),S_(CDS) and S₁ is in the ON state), and when IP₅ is "L", the display flag showing control performing card name display is reset (D-163), and when IP₅ is not "L", processing proceeds to D-165 respectively without performing anything. After resetting the flag S1F in this step D-165, processing proceeds to step D-260 in FIG. 40(b), and judgment is made on whether or not the signal SELF obtained by the communication (II) is "1". Here, when the signal is "1", processing returns. When the signal SELF is not "1", judgment is made on whether or not the card setting switch S_(CDS) has been turned to ON (D-265). When the signal has been turned to ON (signal=1), in step D-270, judgment is made on whether or not the flag (CDSF) showing that processing has passed herethrough has been set, and if the flag has been set, processing proceeds to step D-276, and if the flag has not been set, this flag is set (D-275) and thereafter processing proceeds to step D-276. In this step D-276, the changing mode is set to 1 (described later), further in step D-277, the number of film frames is initialized to 1 (described later), and processing proceeds to step D-405 to perform display control entering the setting mode.

When the switch S_(CDS) is in the OFF state in step D-265, processing proceeds to step D-280. Here, it is judged whether or not the flag (CDSF) has been set, and when it has not been set, processing proceeds to step D-310. When it has been set, this is reset (D-285), and then judgment is made on whether or not the flag SETF showing that data is under setting has been set (D-290), and when the flag has been set, this is reset (D-295), and processing proceeds to step D-310. When the flag SETF showing under-setting has not been set, processing sets this flag (D-305), enters the data setting mode, and proceeds to step D-310. In step D-310 if data is under-setting (SETF=1), in the following step D-315 judgment is made on whether or not the card switch S_(CD) has been turned to ON from data by the communication (II), and where it has been turned to ON, judgment is made on whether or not the flag CDF showing that processing has passed herethrough has been set (D-320), and when it has been set, processing proceeds to step D-342, and when the flag has not been set, processing sets this flag (CDF=1) in step D-325, advances the changing mode in a sequence of 1→2→3→1, and proceeds to step D-342.

Here, the changing modes are as follows:

1--display of shutter speed, diaphragm aperture value, mode display, number of film frames, blinking of the card mark

2--display of film speed, exposure adjusted value, number of film frames, blinking of the card mark

3--display of focal length of an interchangeable lens, open F number of the interchangeable lens, number of film frames, blinking of the card mark

Where the care switch S_(CD) has not been turned to ON, in step D-335, judgment is made on whether or not the flag CDF has been set, and where it has not been set, assuming that nothing has been operated, processing proceeds directly to step D-342, and when it has been set, assuming that the switch S_(CD) has turned from ON the OFF, this flag is reset in step D-340, and then processing proceeds to step D-342. In step D-342, judgment is made on whether or not data of address (for example, shutter speed data) showing a first frame of the number of film frames among data memoried in the E² PROM of this card is present. Where it is not present, assuming that a new memory card has been inserted, n=1 (the first frame) is set in step D-344, and processing proceeds to step D-405. Where the above-mentioned data is present, processing proceeds to step D-345. In step D-345, it is judged whether or not the up switch Sup has been turned to ON, and when it has been turned to ON (Sup=1), and in step D-355, the number of film frames is increased by one in a sequence of 1→2→-35→36→1. After such change of the number of film frames, processing proceeds to step D-405.

When the up switch Sup is in the OFF state by the judgment in step D-345, processing proceeds to step D-375 and it is judged whether or not the down switch Sdn has been turned to ON. The case where it has been turned to ON differs from the case of the above-mentioned up switch Sup only in that the changing direction is reverse, and therefore description thereon is omitted.

On completing processing of the up switch Sup or the down switch Sdn, processing proceeds to step D-405 and the subsequent steps, and performs the following setting: display control=1, release inhibit=1, AF inhibit=1, and photometric loop repeat=1, and thereafter processing proceeds to step D-426. In this step D-426, judgment is made on whether or not data for the number of film frames to be displayed is present by whether or not data of address (for example, shutter speed data) in the E² PROM responding to the number of film frames is present. Here, where this data is present, in step D-427, display data (description for display thereof is described later) is set corresponding to the contents stored in the E² PROM, which corresponds to the quantity of film frames and the changing mode. Where the data of the number of film frames is not present in step D-426, specified data is set (D-428).

Description is made for setting of this specified data and the contents of display thereof in reference to FIG. 40(d) and ○A of FIG. 41(d) respectively. First, in step D-428-1, it is judged which changing mode has been set, and when it is the mode 1, display data (data 1) performing display "- - - - - - " is prepared for six 7-segment elements for display by numerical values (D-428-2). Where the judgment results in the mode 2, display data (data 2) which performs display "- - - - - - " for two 7-segment elements from the right side and puts out the other contents of display is prepared (D-428-4). Where the judgment results in the mode 3, display data which performs display "L" showing the lens information for an element located on the left end and performs display by bars for the remaining five 7-segment elements as shown by display "L- - - - - " as a whole is prepared (D-428-5). After setting of the above-described respective display data, processing returns respectively. While, the micro-computer μC of the camera body continuous display irrespective of display control by the data card, release inhibit, AF inhibit and the power holding timer of the camera body.

In the above-mentioned step D-310, if judgment is made not to be "under-setting" (SETF=0), processing proceeds to step D-430 in FIG. 40(c), and it is judged whether or not the card switch S_(CD) has been turned to ON, and when the card switch S_(CD) is in the OFF state, processing returns. When the card switch is in the ON state, the display flag is set (D-433) and processing proceeds to step D-170, performing display of the card name.

In the data memory card, ON/OFF of the card function is neglected (when the card is attached, the data is memorized certainly), and in place of this, when the card switch S_(CD) is operated, display of the card name is designed to be performed.

Reverting to FIG. 39, when communication is not (I), it is judged whether or not the communication is (II) in step D-35, and when the communication is (II), serial communication is performed ten times (D-45) with the card side set as the output side (D-40) to output the above-mentioned set data to the camera, and processing sleeps.

When communication is not (II), processing proceeds to step D-50 and judgment is made on whether or not the communication is (IV), and when the communication is (IV), the card is set as the output side (D-85), and display data is outputted (D-90), address is set, and serial communication is performed nine times (D-95), and processing sleeps.

When communication is not (IV), judgment is made on whether or not the communication is (V) (D-55), and when the communication is (V), the card is set as the input side (D-60) and serial communication is performed eight times (D-65) to input the data for memory from the camera. In the following step D-70, judgment is made on whether data showing the number of film frames is present (N≠0) or absent (N=0) among the data input by the above-mentioned communication (V), and when the data as to the number of film frames is absent, assuming that the film has not been loaded, processing returns without storing the data for photography. On the other hand, when the data is present, processing proceeds to step D-73, and it is judged whether or not data showing (N+1)th frames (address of N×8 bytes) in the E² PROM is present. Where it is not present, the number of (N-1)×8 bytes is set as head address for write and 8 is set as the number of data to be written in order to write only the inputted 8-byte data (D-76), a control signal for writing this data is outputted (D-78), and thereafter a write end signal is reset (D-80). In the above-mentioned step D-73, where data showing (N-1)th frames is present, head address of the E² PROM is set by (N-1)×8 bytes (input byte of S10) and 16 is set as the number of data to be written in order to write both the above-mentioned inputted 8-byte data and the predetermined 8-byte data into the following 8 bytes (D-75), and a write control signal is outputted (D-80). Data is prepared for performing display "-" as shown in ○B of FIG. 41(c) by the display element of the right end among four display elements (each comprises 7-segments for display) which normally display the shutter speed. In addition, relating to the film speed, among four elements (same portions as in the case of the above-described shutter speed) for normally displaying this, data performing display "- -" is prepared for only two elements from the right side. For the lens data, among four elements for normally displaying focal length, data performing display "- - -" is prepared with three elements on the right side for the open diaphragm aperture value normally. For the number of film frames, data showing the value N+1 is prepared. This is, for example, because in the case of completing the photographing by using a 12-exposure film, a photographer should be informed of this. Thereby, it can be prevented that data are written to the same address for the same frame, and also write can be distinguished between old data and new data.

○A and ○B of FIGS. 41(d-e) show the contents of display thereof. When data does not exist in the next address of a number of film frames (for example, when a new IC card is attached), display as shown in ○A (FIG. 41(d)) is performed. When the above-mentioned data exists, display responding to the mode as shown in ○B is performed. ○C (FIG. 41(e)) shows a normal data display and description thereon is described later.

Here, relating to the contents of display as shown in FIGS. 44(d-f) description is made for an example of a data memory card.

As shown in FIG. 41(c), it is assumed that first, only 12 frames in a new film are exposed by the card, next, and thereafter frames of 17th to 36th in another film loaded anew and further frames of 15th to 24th in a new film further loaded are exposed. In this case, display data become as follows:

    ______________________________________                                          1st to 12th frames                                                                           display  ○C                                                                       (normal display)                                      13th and 14th frames                                                                          display  ○A                                              15th to 24th frames display  ○C                                         25th frame     display  ○B                                              26th to 36th frames                                                                           display  ○C                                              ______________________________________                                    

When the communication is not (V) in step D-55, assuming that it is the communication (VI), first, it is judged whether or not write has been completed by the above-mentioned end signal (D-100), and when write has been completed, a sleep-good signal is set in step D-105, and when it has not been completed, a sleep-no signal is set in step D-110, and processing proceeds to step D-115 respectively and the card is set as the data output side. Subsequently, serial communication is performed in response to clock pulses from the camera body (D-120), and processing sleeps.

For example, FIG. 41(a) shows the contents of display at setting. When the mode is the normal display mode (A), by depressing the card setting switch S_(CDS), as shown in (B), the shutter speed, diaphragm aperture value and AE mode of the first-frame are displayed, and "1" is displayed at the position of the number of film frames to indicate the first frame, and further blinking of the card mark is performed. As shown in (C), (D), by turning the up-down key to ON, display proceeds in the direction as shown in this figure, the number of film frames goes down (36) or up (2), and the shutter speed, diaphragm aperture value and AE mode, responding to the frame number is displayed in order.

Furthermore, when the card switch S_(CD) is turned to ON, as shown in (E), 400 (film sensitivity) and +0.5 (exposure corrected value) are displayed, and by operating the up-down key, the film sensitivity and exposure corrected value are displayed in response to the frame number.

Next, when the card switch S_(CD) is turned to ON, as shown in (F), the focal length and open F_(no) are displayed in response to the frame number like L105 (focal length), 4 (open F_(NO)), and further by turning the up-down key to ON, the number of film frames is varied and the focal length and open F_(NO) are displayed in response to this matter.

Then, by the next ON operation of the card switch S_(CD), the display returns to (B). By depressing the card setting switch S_(CDS) in this state, the display turns to the normal display.

(3) Sports card

Next, description is made on operation of the sports card.

The micro-computer μC₂ of the sports card executes a routine of resetting as shown in FIG. 42 when this card is attached to the camera body, resets all of the flags and the registers (RAM) (S-5), and processing sleeps.

Next, when a signal changing from "L" to "H" is sent from the camera body to the terminal CSCD of the sports card, the micro-computer μC₂ of the sports card executes a routine of an interrupt as shown in FIG. 43. Here, in synchronism with clock pulses sent from the camera body, serial communication is performed once (S-15) to input data showing the kind of communication into the card.

The kind is judged in step S-20 from the data obtained by this communication, and when the kind is the communication (I), the card is set as the data input side (S-25), and serial communication is performed three times (S-30) to receive data (refer to table 6 and table 14) from the camera body. Based on this data, the micro-computer μC₂ executes a subroutine of data setting (S-35), and processing sleeps.

Here, prior to description on the above-mentioned subroutine, description is made on what sorts of data are outputted from the card in response to communication.

In the communication (II),

all signals other than the following signals are set to "0".

    ______________________________________                                         Auxiliary light inhibit (=1)                                                                           CS II - 1 - b.sub.0                                    FL forced OFF (=1)      CS II - 1 - b.sub.2                                    GN restriction release (=1)                                                                            CS II - 1 - b.sub.3                                    Card performs display control?                                                                         CS II - 1 - b.sub.4                                    Card function ON/OFF    CS II - 1 - b.sub.5                                    Blurring warning buzzer EXIST/NO                                                                       CS II - 1 - b.sub.7                                    P shift inhibit (=1)    CS II - 2 - b.sub.0                                    Forced P mode (=1)      CS II - 2 - b.sub.1                                    Communication(V) NO (=0)                                                                               CS II - 2 - b.sub.2                                    AF continuous (=1)      CS II - 2 - b.sub.5                                    Forced AF (=1)          CS II - 3 - b.sub.1                                    Tv · Av/display data                                                                          CS II - 3 - b.sub.3                                    Communication(IV) EXIST (=1)                                                                           CS II - 3 - b.sub.4                                    Communication(III) EXIST (=1)                                                                          CS II - 3 - b.sub.5                                    Group specifying (=0)   CS II - 3 - b.sub.6                                    Photometric loop repeat CS II - 3 - b.sub.7                                    Blurring warning buzzer control (=1)                                                                   CS II - 4 - b.sub.0                                    ______________________________________                                    

Signals marked with on the table are set to "1" or "0" in response to the respective cases, and the control thereof is put in the ON state at "1", and put in the OFF state at "0". The determined signals are set to "0" or "1" in a fixed manner. In the communication (II), in addition to the above signals, CS II-9-b₁ =1 is set to specify group 1 of the communication (III). Since the communication (IV) is of two display control data, CS II-10-b₁, b₂ =1, 1 is set. The other are set to "0".

In addition, any data can be entered in blank spaces on the above-mentioned table.

In the communication (VI), a signal of sleep-possible is sent. This is because write control to E² PROM does not exist.

Next, a subroutine of data setting is shown in FIG. 44(a) to be explained. First, in step S-150, display control data is initialized to "0", and then in the next step S-160, judgment is made on whether or not a signal DISREQ (request of card name display) obtained by the communication (I) is "1". Here, where the signal is "1", display control data is set to "1" (S-170), card display function ON/OFF to ON (1) (CS II-1-b₅ =1) (S-175). Subsequently, it is judged whether or not the flag S1F has been set (S-200), and where the flag has not been set, assuming that processing passes through this flow for the first time, the flag S1F is set (S-205), and the timer is reset and started (S-210), and processing proceeds to step S-215. When the flag S1F has been set, processing proceeds directly to step S-215. In step S-215, it is judged whether or not 10 seconds has elapsed from the start of the above-mentioned timer, and where 10 seconds has not elapsed, the photometric loop repeat signal is set to "1" (S-220), and data performing only the card name display and the card mark display is set (S-222), and processing returns. FIG. 47 shows this display. On the other hand, where 10 seconds has elapsed, the photometric loop repeat signal is set to "0" (S-225), the flag S1F is reset (S-226) and display control data is set to "0" (S-227), and processing returns.

If DISREQ=0 in the above-mentioned step S-160, judgment is made in step S-162 on whether or not IP₅ is "L" (that is, any of the switches, S_(EM), S_(FUN), S_(CD), S_(CDS) and S₁ is in the On state), and when IP₅ is "L", the display flag showing control performing card name display is reset (S-163), and when IP₅ is not "L", processing proceeds to S-165 respectively without performing anything. After resetting the flag S1F in this step S-165, processing proceeds to step S-260 in FIG. 44(b), and judgment is made on whether or not the signal SELF obtained by the communication (II) is "1".

Here, when the signal is "1", processing returns to inhibit control by operation of the switches of the camera (relating to the card). When the signal SELF is not "1", processing proceeds to step S-430 in FIG. 44(c). Here, it is judged whether or not the card switch S_(CD) has been turned to ON, and when the card switch S_(CD) is in the OFF state, this flag CDF is reset in step S-460, and it is judged whether or not the display flag has been set (S-465), and when it has not been set, processing returns. When it has been set, processing proceeds to step S-170 to perform control of display of the card name. In the above-mentioned step S-430 when the card switch S_(CD) is in the ON state, judgment is made on whether or not the flag CDF showing that processing has passed herethrough has been set (S-435), and when it has been set, assuming that the switch is kept operated, processing proceeds to step S-465. When the flag CDF has not been set, this flag is set (S-440), and in the following step S-445, judgment is made on whether or not the card function is in the ON state based on data CSII-1-b₅ at present. And where it is in the ON state (CS II-1-b₅), it is set to OFF (data of the communication II) (S-450), and the display flag is reset (S-453) and processing returns. Where the function is in the OFF state (CS II-1-b₅ =O), it is turned to ON (data of the communication II) in step S-455, and the display flag is set in step S-458 and processing proceeds to step S-170 to perform control of display of the card name.

Reverting to FIG. 43, when communication is not (I), it is judged in step S-40 whether or not the communication is (II) and when the communication is (II), serial communication is performed ten times (S-50) with the card side set as the output side (S-45) to output the above-mentioned set data to the camera body, and processing sleeps.

When communication is not (II), it is judged in step S-51 whether or not the communication is (III), and when the communication is (III), the card is set as the input side (S-52), and serial communication is performed fifteen times (S-53) to input the data of the camera. In the following step S-54, data for controlling the camera is calculated (including exposure calculation) and processing sleeps. This calculation is described later.

When communication is not (III), it is judged in step S-55 whether or not the communication is (IV), and when the communication is (IV), the card is set as the output side (S-60), and in step S-65 it is judged whether or not data is of display control, and when the data is of display control, display data is outputted (S-70), address is set, and serial communication is performed nine times (S-75), and there after processing sleeps. When the result is not display control (Tv, Av data), Tv, Av data is addressed, and serial communication is performed four times (S-85), and processing sleeps. When the communication is not (IV) in step S-55, assuming that it is in the communication (VI), first, the card is set as the output side (S-120), serial communication is performed once in response to clock pulses from the camera body (S-125), and processing sleeps.

Next, description is made on AE (exposure) calculation in step S-54 in FIG. 43 in reference to FIG. 45.

In step ○A , the standard value T_(VH) of the shutter speed is calculated with equations as follows to sound the blurring warning buzzer.

A lens having a longer focal length is easier to cause a blurring, and therefore where the focal length is made longer, T_(VH) is made faster.

    T.sub.VH =1.25×(zFz-56)/16+5.875

    zFz=16×log.sub.2 (f/50)+56

(f: focal length of a lens in mm) ##EQU2##

In step ○B , as similar to the case of ○A , T_(VH) is calculated. This is because a warning is given when Tv becomes extremely slow even in the case of a wide-angle lens.

    ZFz=16×log.sub.2 (f/50)+56

    T.sub.VH =1.125×(zFz-56)/16+5.875

For example, f=35 mm T_(VH) ≈5.3(ss≈1/37) F=2.8

In step ○C , even if the focal length f of a lens is short, when the shutter speed is extremely slow, the blurring warning buzzer BZ is sounded. In reverse, where the focal length f is long, T_(VH) is limited so as not to sound the buzzer Bz when the shutter speed increases over a certain extent. ##EQU3##

In step ○D , the shutter speed at the bending point of the line of AE calculation is calculated. If the focal length f is f<50 mm, the possibility of blurring is low, and therefore the line of diaphragm aperture is set as small as possible. If f≧50 mm, when a subject is near and taken in a large size, presuming a moving subject, to set a line making the shutter speed faster, the line is changed depending on the image magnification.

Then, when the image magnification data cannot be used (b₁ of AEFLAG of input data at the communication (III), b₁ =0). T_(VF) of the turning point is set uniformly to T_(VF) =10. When the data can be used (b₁ =1), setting is made as follows:

    ______________________________________                                                       β > 1/50 T.sub.VF = 11                                      1/100 ≦                                                                               β < 1/50 T.sub.VF = 10                                                    β < 1/100                                                                               T.sub.VF = 9                                       ______________________________________                                    

When the switch S_(AEL) is in the ON state (CS I-1-b₇), the exposure value Evs is calculated from the luminance Bvc of spot---luminance of Bv₂ ---, and when CS I-1-b₇ is set by the OFF state of the switch S_(AEL), the exposure value Evs is calculated from the luminance Bvs---luminance of main subject---.

Then, when the above-mentioned Evs evaluated from the maximum diaphragm aperture value Avmax and the minimum diaphragm aperture value Avmin or Avo and the maximum shutter speed Tvmax and the minimum shutter speed Tvmin is the control limit (more than Avmax+Tvmax or less than Avo+Tvmin), Evs is set to the above-mentioned limit value, and processing proceeds to judgment of blurring.

When Evs is the above-mentioned limit value, Tv=Evs-Avo, Tvc=Tv, and Avc=Avo are set, and processing proceeds to judgment of blurring, and if the shutter speed is less than the turning point, T_(VF) of the program line diagram, when this Tv exceeds the turning point T_(VF), the inclination of AE calculation is changed depending on the focal length of the lens.

Where the focal length is long, a line making the shutter speed faster is set to prevent the camera from a blurring.

Where the focal length is short, considering portrayal, a line making the diaphragm aperture a little smaller is set.

FIG. 46 shows the above-described program lines written for the following three lenses for example;

    ______________________________________                                         f = 38 mm             F = 2.8                                                  f = 105 mm            F = 4.5                                                  f = 210 mm            F = 4                                                    ______________________________________                                    

When the diaphragm aperture value Av thus evaluated exceeds Avmax, assuming Avc=Avmax, the shutter speed Tvc=-Avmax is set.

When the calculated diaphragm aperture value Av does not exceed Avmax, judgment is made on whether or not Tv calculated from Tv=Evs-Av exceeds Tvmax, and when it does not exceed, Avc=Av and Tvc=Tv are set, and when it exceeds, Tvc=Tvmax is set, and the control diaphragm aperture value Avc is re-evaluated from Avc=Evs-Tvmax.

At step ○E when a blurring occurs, to give a blurring warning, a signal (CS II-1-b₇) of the communication (II) is set to 1, and when a blurring does not occur, this signal (CS II-1-b₇) is set to 0.

Then, a bit b_(o) of a signal CTRLB of the communication (IV) is set to 0, and flashlight emission is inhibited.

(4) Auto depth card

Next, description is made on operation of the auto depth card.

The auto depth card is designed so that not only the main object but also the background is in the focused state by placing them in the depth of field.

The micro-computer μC₂ of the auto depth card executes a routine of resetting as shown in FIG. 48 when this card is attached to the camera body, resets all of the flags and the registers (RAM) (0-5), and then processing sleeps.

Next, when a signal changing from "L" to "H" is sent from the camera body to the terminal CSCD of this card, the micro-computer μC₂ of the auto depth card executes a routine of an interrupt as shown in FIG. 49. Here, in synchronism with clock pulses sent from the camera body, serial communication is performed once (0-15) to input data showing the kind of communication into the card.

The kind is judged (0-20) from the data obtained by this communication, and when the kind is the communication (I), the card is set as the data input side (0-25), and serial communication is performed three times (0-30) to receive data (refer to table 6 and table 15) from the camera body. Based on this data, the micro computer μC₂ executes a subroutine of data setting (0-35), and processing sleeps.

Here, prior to description on the above-mentioned subroutine, description is made on what sorts of data are outputted from the card in response to communication.

    ______________________________________                                          FL forced ON           CS II - 1 - b.sub.1                                    GN restriction release (=1)                                                                            CS II - 1 - b.sub.3                                    Card performs display control                                                                          CS II - 1 - b.sub.4                                    Card function ON/OFF    CS II - 1 - b.sub.5                                    Snap driving bit        CS II - 1 - b.sub.6                                    Blurring warning buzzer EXIST/NO                                                                       CS II - 1 - b.sub.7                                    P shift inhibit (=1)    CS II - 2 - b.sub.0                                    Forced P mode (=1)      CS II - 2 - b.sub.1                                    Communication(V) NO (=0)                                                                               CS II - 2 - b.sub.2                                    AF one-shot (=1)        CS II - 2 - b.sub.5                                    Forced AF (=1)          CS II - 3 - b.sub.1                                    Tv · Av/display data                                                                          CS II - 3 - b.sub.3                                    Communication(IV) EXIST (=1)                                                                           CS II - 3 - b.sub.4                                    Communication(III) EXIST (=1)                                                                          CS II - 3 - b.sub.5                                    Group specifying (=0)   CS II - 3 - b.sub.6                                    Photometric loop repeat CS II - 3 - b.sub.7                                    Blurring warning buzzer control (=1)                                                                   CS II - 4 - b.sub.0                                    ______________________________________                                    

Signals marked with on the table are set to "1" or "0" in response to the respective cases, and the control thereof is put in the ON state at "1", and put in the OFF state at "0". The determined signals are set to "0" or "1" in a fixed manner. In the communication (II), in addition to the above signals, CS II-9-(b₀, b₁), 1 is set to specify groups G₀, G₁ of the communication (III) in group communication. Further, since the communication (IV) is of three data of display control data and lens driving data, CS II-10-b₁, b₂, b₃ =1, 1 is set. The others are set to "0".

In addition, any data can be entered in blank spaces on the above-mentioned table.

In the communication (VI), a signal of sleep -good is sent.

Next, a subroutine of data setting is shown in FIG. 50(a) to be explained. First, in step 0-150, display control data is initialized to "0" (CS II-1-b₄ =0), and in the following step 0-160, judgment is made on whether or not a signal DISREQ (request of card name display) obtained by the communication (I) is "1", and where the signal is "1", display control data is set to "1" (0-170), and card display function ON/OFF to ON (CS II-1-b₅ =1) (0-175). Subsequently, it is judged in step 0-200 whether or not the flag S1F has been set, and where the flag has not been set, assuming that processing passes through this flow for the first time, the flag S1F is set (0-205), and the timer is reset and started (0-210), and processing proceeds to stop 0-215. When the flag S1F has been set, processing proceeds directly to step 0-215. In step 0-215, it is judged whether or not 10 seconds has elapsed from the start of the above-mentioned timer, and where 10 seconds has not elapsed, the photometric loop repeat signal is set to "1" (CS II-3-b₇ =1) (0-220), and data performing only the card name display and the card mark display is set (0-222), and processing returns. FIG. 52 shows this display. On the other hand, where 10 seconds has elapsed, the photometric loop repeat signal is set to "0" (0-225); the flag S1F is reset (0-226), and display control data is set to "0" (0-227), and processing returns.

If DISREQ=0 in the above-mentioned step 0-160, judgment is made on whether or not IP₅ is "L" (that is, any of the switches S_(EM), S_(FUN), S_(CD), S_(CDS) and S₁ is in the ON state) (0-162), and when IP₅ is "L", the display flag showing control performing card name display is reset (0-163), and when IP₅ is not "L", processing proceeds to 0-165 respectively without performing anything. After resetting the flag S1F in this step 0-165, processing proceeds to step 0-260 in FIG. 50(b), and judgment is made on whether or not the signal SELF obtained by the communication (II) is "1".

Here, when the signal is "1", processing returns to inhibit controlling by operation of the switches of the camera (relating to the card). When the signal SELF is not "1", processing proceeds to step 0-430 in FIG. 50(c), and it is judged whether or not the card switch S_(CD) has been turned to ON, and when the card switch S_(CD) is on the OFF state, in step 0-460, this flag CDF is reset, and in step 0-465 it is judged whether or not the display flag has been set, and when it has not been set, processing returns. When it has been set, processing proceeds to step 0-170, and performs control of display of the card name as shown in FIG. 52. In the above-mentioned step 0-430, when the card switch S_(CD) is in the ON state, judgment is made on whether or not the flag CDF showing that processing has passed herethrough has been set (0-435), and when it has been set, assuming that the switch is kept operated, processing proceeds to step 0-465.

When the flag CDF has not been set, this flag is set (0-440), and in the following step 0-445, judgment is made on whether or not the card function is in the ON state based on data CS II-1-b₅ at present, and where it is in the ON state (CS II-1-b₅ =1), it is set to OFF (data of the communication II) (0-450), and the display flag is reset and processing returns. In reverse, where the function is in the OFF state (CS II-1-b₅ =0), it is turned to ON (data of the communication II) in step 0-455, and the display flag is set in step 0-458 and then processing proceeds to step 0-170 to perform control of display of the card name.

Reverting to FIG. 49, when communication is not (I), it is judged in step 0-40 whether or not the communication is (II) is judged, and when the communication is (II), serial communication is performed ten times (0-50) with the card set as the output side (0-45) to output the above-mentioned set data to the camera body, and processing sleeps.

When communication is not (II), whether or not the communication is (III) is judged (0-51), and when the communication is (III), serial communication is performed eighteen times (0-53) with the card set as the input side (0-52). In the following step 0-54, data for controlling the camera is calculated (including exposure calculation), and processing sleeps. This calculation is described later.

When communication is not (III), judgment is made in step 0-55 on whether or not the communication is (IV), and when the communication is (IV), the card is set as the output side (0-60), and it is judged in step 0-65 whether or not data is of display control, and when the data is of display control, display data is outputted (0-70), address is set, serial communication is performed nine times (0-75), and processing sleeps. When the result is not display control (that is, in the case of Tv, Av data), Tv, Av data is addressed (0-80), and serial communication is performed five times (0-85), and processing sleeps.

When the communication is not (IV), assuming that it is the communication (VI), first, the card is set as the output side (0-120), and serial communication is performed once in response to clock pulses from the camera body (0-125), and processing sleeps.

Next, description is made on a flowchart of performing AE (exposure) calculation of the auto depth card based on FIGS. 51(a) and 51(b). First, it is judged whether or not a subject is in-focus based on a bit b₀ of FLGO inputted by the communication (II). In the case of out-of-focus (b₁ =0), the diaphragm aperture A_(VDEP) is set to the open F number Avo of the shallowest depth, and processing proceeds to step W-35. This card is designed so that both the subject and the background are focused, and therefore these distance information cannot be obtained unless the subject is in focus. Then, considering the open F number showing the shallowest value of depth, by placing the subject at the front of this depth (camera side), the subject is focused at any diaphragm aperture value. When the subject is in focus (b₀ =1), this diaphragm aperture value is calculated in step W-5 by ##EQU4##

where, α and δ represent constants relating to the depth).

This F number is a diaphragm aperture value for covering the subject and the position of ∞ with its depth, where the lens which is shifted of value L_(P) is located on the half position between the subject position and ∞.

This F number is set as an apex value A_(VDEP) (W-10). In step W-5, the diaphragm aperture value for satisfying the present lens position i.e. subject position and the position of ∞ with its depth, is calculated.

The lens shifting adjustment value ΔL_(P) with respect to the lens position of in-focusing a main subject is calculated based on this value.

The value L_(P) is 0 at infinity, and becomes larger as the distance becomes nearer. At infinity, the lens is not required to be shifted, so that shifting adjustment value ΔL_(P) is set to 0. As the subject comes nearer, the lens with a small aperture value has to be moved greatly also for focusing the background, and therefore the F number should become larger. When the evaluated A_(VDEP) is not more than the open diaphragm aperture value Avo of the lens and not less than the maximum diaphragm aperture value Avmax, the limit value thereof is set to Avo or Avmax (W-15˜W-30).

In step W-35, the standard value T_(VF) of the shutter speed is calculated to sound the blurring warning buzzer. A lens having a longer focal length is easier to cause a blurring, and therefore, the value T_(VF) is fixed to prevent blurring for such a lens. (Refer to FIG. 53). ##EQU5##

When the shutter speed becomes faster over a certain degree (T_(VF) >8), T_(VF) =8 is set so as not to sound the blurring warning buzzer (W-40, W-45).

When the flash switch is not in the ON state, the exposure value Evs is calculated in step W-65 from the spot luminance Bvc (luminance of Bv₂) if the switch S_(AEL) is in the ON state (CS I-1-b₇ =1), and the control exposure value Evs is calculated in step W-60 from the photometric luminance Bvs: luminance of main subject, if the switch S_(AEL) is in the OFF state (CS I-1-b₇ =0), respectively.

Then, when the above-mentioned exposure value Evs evaluated from the maximum Avmax and the minimum Avmin (of Avo) of the diaphragm aperture value and from the maximum Tvmax and the minimum Tvmin of the shutter speed is the control limit (more than Avmax+Tvmax or less than Avo+Tvmin), it is set to the above-mentioned limit value (W-75, W-85), and processing proceeds to judgment of blurring. When it is within the above-mentioned limit range, Tv=Evs=Avo is set (W-90). Further in step W-100, Tvc=Tv and Avc=Avo are set if the shutter speed is not more than the blurring speed T_(VF), and processing proceeds to judgment of blurring (W-160). And when the value Tv exceeds the blurring speed T_(VF), in step ○D , non-blurring has priority if Evs>Avoz+T_(VF), and a line making the diaphragm aperture smaller is set to improve the depth of field (#D). If Evs≦A_(VDEP) +T_(VF), the control diaphragm aperture value Avc is set to Av, and the control shutter speed TVC is set to TV in step W-115. If Evs>A_(VDEP) +T_(VF), the effect is the same even if the diaphragm aperture value is more reduced than this (A_(VDEP)), and therefore a line diagram that Av and Tv are increased at the same rate is set (refer to FIG. 54) in step W-120.

When the calculated Av exceeds the maximum diaphragm aperture value Avmax, the control diaphragm aperture value Avc is set to Avmax, and the control shutter speed Tvc to Evs-Avmax in step W-155. When the calculated diaphragm aperture value Av does not exceed the maximum diaphragm aperture value Avmax, this is set as the control diaphragm aperture value Avc in step W-130, and the operated Tv is evaluated by Tv=Evs-Av in step W-135, and it is judged whether or not this exceeds Tvmax in step W-140, and when this exceeds, the control shutter speed Tvc is set to Tvmax, and the control diaphragm aperture value Avc is re-evaluated by Avc=Evs-Tvmax in step W-150. When the calculated shutter speed Tv does not exceeds Tvmax, the calculated shutter speed Tv is set as the control shutter speed Tvc in step W-145.

In the case of ○F (that is, when the calculated shutter speed Tvc is less than T_(VF)), a signal (S II-1-b₇) of the communication (II) is set to 1 to give a blurring warning, and in the case of non-blurring, this signal (S II-1-b₇) is set to 0.

Then, a bit b₀ of a signal CTRLB of the communication (IV) is set to 0, and flashlight emission is inhibited.

When the flash switch is in the ON state in step W-50, processing proceeds to step W-180 and here, the diaphragm aperture value A_(VD) at that time is calculated by

    A.sub.VD =Iv+Sv-Dv

Iv: quantity of light emission (guide number)

Sv: film speed

Dv: apex value converted from the subject distance

Next, description is made on routine ○E .

    ______________________________________                                         0-1         It is judged whether or not A.sub.VD is not less                               than AVO (open F-value AVO) (A.sub.VD ≧ AVO).               0-2         A luminance difference ΔBV from the background                           is evaluated from B.sub.VA (luminance of BV.sub.4)-BVS                         (luminance of main subject).                                       0-3         It is judged whether or not the last-time                                      calculated value ΔBV exists.                                 0-4         Where the value ΔBV does not exist, it is                                judged whether or not ΔBV ≦ 1/16 BVS + 0.25 is                    satisfied. As the subject becomes brighter, the                                level of the judgment thereof is made higher,                                  and thereby the increase of affection of the                                   light straying from the background to the                                      subject is reduced. If ΔBV ≧ 1/16 + 0.25,                         processing proceeds to flash control routine.                      0-5         When the last-time calculated value ΔBV exists,                          it is judged by the result of the last-time                                    calculation whether or not the mode is the                                     light emission mode (flash control).                               0-6         When the mode is the light emission mode, it is                                judged whether or not ΔBV ≧ 1/16 BVS holds. By                    reducing ΔBV from the value of 0-4 by 0.25 EV,                           light is made easier to emit. If ΔBV ≧ 1/16                       BVS,                                                                           processing proceeds to flash control routine.                      0-7         When the mode is not the last-time light                                       emission mode, it is judged whether or not ΔBV                           ≧ 1/16 BVS + 0.5 hoIds. By increasing ΔBV from                    the value of 0-4 by 0.25 EV, light is made harder                              to emit.                                                           0-8         If A.sub.VD ≦ AVO (when A.sub.VD is not more than the                   open F value), if ΔBV < 1/16 BVS + 0.25 in 0-4, if            0-12       ΔBV < 1/6 BVS in 0-6, and if ΔBV < 1/16 BVS +          0.5                                                                            ______________________________________                                    

in 0-7, processing proceeds to these steps. Hereinafter, judgment is made on whether or not the main subject Evs is less than the low luminance judging level (T_(VF) +Avo+ΔEv), and when it is less than this level, flash control is performed. When the last-time calculated value does not exist, ΔEv=-0.25 is set. And when the last-time calculated value exists,

ΔEv=0 is set when the last-time light emission exists, and

ΔEv=-0.5 is set when the last-time light emission does not exist,

and thereby light is made easier to emit when light has emitted at the last time. Light is hard to emit when light has not been emitted at the last time, and in the case under conditions of non-light-emission, processing proceeds to step 0-13 to perform control of non-flashlight emission.

Next, description is made on flash control. When the switch S_(AEL) is in the ON state (CS I-1-b₇ -1), judgment is made on whether or not calculation of the switch S_(AEL) ON has been performed at the last time, and when calculation of the switch S_(AEL) has been performed at the last time, processing proceeds to flashlight adjustment calculation using the control diaphragm aperture value Avc and control shutter speed Tvc (F-1 to F-3). Where the switch S_(AEL) is not in the ON state, or where the calculation of switch S_(AEL) ON has not been performed at the last time, the exposure value E_(VA) is calculated from the background luminance B_(VA) (F-4).

When this exposure value E_(VA) is not more than the synchronizing speed Tvx+the open F value Avo+1.5 and the main subject exposure value Evs is not more than the synchronizing speed+the open F value -1.0, both the background and the main subject are assumed to be dark. Then, judgment is made on whether or not the switch S_(AEL) has been turned to ON (F-7), and when it has not been turned to ON, the control diaphragm aperture value Avc is set to A_(VD), and the control shutter speed TVC is set to TVS. Thereafter the main subject is controlled to be exposed properly by a flashlight, and the depth of field is improved insofar as possible. Then, processing proceeds to light adjustment calculation with the control shutter speed taken as the synchronizing speed.

When the exposure value E_(VA) of the background satisfies the equation E_(VA) >Tvx+Avo+1.5, or the main subject exposure value Evs satisfies Evs>Tvx+Avo-1, or the switch S_(AEL) is in the ON state, it is judged whether or not ΔBv:B_(VA) -Bvs is not less than 2.5, and when it is not less than 2.5 assuming the against-the-light state, the exposure control value Evc is set to E_(VA) -1.5 in step F-11, and the background is over-exposed to be looked like a counterlight condition, and the main subject is exposed properly by a flashlight. When it is less than 2.5, assuming that the camera is not in the against-the-light state, the background is under-exposed by one step (F-10), and thereby the background and the main subject are intended to be exposed properly by natural light and the background light. Judgment is made on whether or not the shutter speed at open F number Avo is not less than the synchronizing speed (F-12), and when it is not less than the synchronizing speed, the control shutter speed Tvc is set to the synchronizing speed Tvx, (F-13) and the diaphragm aperture value Av is calculated from Evc-Tvx (F-14), and it is judged whether or not this diaphragm aperture value Av is not less than A_(VD) (F-15), and when it is not less than A_(VD), the control diaphragm aperture value Avc is set to A_(VD) (F-16), and this prevents the main subject from being under-exposed.

If Av<A_(VD), the control diaphragm aperture value Avc is set to Av (F-21). Then, the flashlight adjusting level is calculated in the respective cases. If Tv<Tvx in step F-12, the control diaphragm aperture value Avc is set to the open F number Avoz (F-17), and judgment is made on whether or not Tv is not less than the minimum shutter speed Tvmin (F-18), and when it is not less than Tvmin, the control shutter speed Tvc is set to Tv (F-20), and when it is less than Tvmin, the control shutter speed Tvc is set to Tvmin (F-19), and processing proceeds to calculation of (F-22) the flashlight adjusting level, respectively.

This calculation of the light adjusting level is shown in FIG. 51(c) to be explained. The exposure value Evc is evaluated in step m-1 from Avc+Tvc, and it is judged in m-2 whether or not Evc-Evs (exposure value of main subject)>0 is satisfied. If Evc-Evs <0, the quantity of correction is set to x=1.5 in step m-3, and the quantity of light emission (quantity of adjusted light) is set under so that the main subject is not over-exposed, and processing proceeds to step m-7.

If Evc-Evs>0, it is judged in step m-4 whether or not Evc-Evs>3 holds, and if Evc-Evs>3, the quantity of correction x is set to 0 in step m-5, and processing proceeds to step m-7. If Evc-Evs≦3, x=1/2 (Evs-Evc+3) is set in step m-6, and processing proceeds to step m-7. It is judged in step m-7 whether or not the image magnification β can be used with the bit b₁ of AEFLAG in communication (III), and when it can be used,

    ______________________________________                                                    β ≧ 1/7                                                                       →                                                                               TTL = x                                          1/7 >      β     →                                                                               TTL = x + 0.5                                    1/10>      β ≧ 1/40                                                                      →                                                                               TTL = x + 0.875                                  1/40>      β     →                                                                               TTL = x + 1.25                                   ______________________________________                                    

are set (m-9 to m-15), and when the rate of occupation of the subject in the image plane becomes small (β is small), the quantity of light reflected back from the subject becomes small, and output of a light adjust end signal is delayed, so the quantity of light emission is increased, resulting in an over-exposure. To correct this, the quantity of light emission is decreased with the decrease of β.

When β cannot be used in step m-7, assuming that many subjects of 1/10>β≧1/40 are present, TTL=x+0, 875 is set. Then, for the control quantity of adjusted light Svc, TTL is added to the film speed Sv.

Then, after completing calculation of light adjusting level, a signal of flashlight emission is set (F-23), and the blurring warning buzzer Bz is turned off (F-24), Then, judgment is made on whether or not the control diaphragm aperture value satisfies Avc>A_(VDEP) (F-25), and if Avc>A_(VDEP), A_(VF) (the diaphragm aperture value for evaluating the adjustment value ΔL_(P) of focus shift) is set to A_(VDEP) (F-27). Thereby, the background (up to ∞) and the main subject becomes in the focused state.

If Avc≦A_(VDEP), A_(VF) =Avc is set (F-26), and the main subject comes to be positioned at the near end of the depth, and the farther background approaches to the opposite end or comes into the depth. Then, it is judged in step F-28 whether or not the subject is in focus, and in the case of out-of-focus, the value ΔLp of focus shift is set to 0 in step F-29. In the case of in-focus, A_(VF) is converted into apex value (F-30), and this apex value is utilized to calculate the quantity of focus shift ΔLp by ΔLp=F×K_(BL) ×α×δ in step F-31. This is shown in FIG. 55, and brief description is made thereon.

In FIG. 55, a mark X shows the lens position (subject position). For the depth of A_(VDEP), the depth when Avc is not more than A_(VDEP) becomes narrower and the subject and the background become nearer to the depth. At this time, control of driving the lens is performed so that the main subject is positioned at the near end of the depth. In addition, a dotted line shows the portion in the out-of-focus state (≠A_(VDEP)). Next, for the depth when AVC exceeds A_(VDEP), both come near and the range is extended. At this time, the lens is controlled to be located at the position determined by A_(VDEP). In this case, the subject and the background at infinity are focused.

(5) Bracket card

Next, description is made on operation of the bracket card.

Here, the bracket card is a card used for continuously photographing by the predetermined number N of film frames while the exposure is shifted so as to be set over or under by a predetermined value ΔEv from a correct exposure.

The micro-computer μC₂ of the bracket card executes a routine of resetting as shown in FIG. 56 when this card is attached to the camera body, resets all of the flags and the registers (RAM) (B-5), moves information including the number N of film frames and the value ΔEv of exposure shift in the E² PROM to the RAM (B-10), and processing sleeps.

Next, when the signal changing from "L" to "H" is sent from the camera body to the terminal CSCD of this card, the micro-computer μC₂ of the bracket card executes a routine of an interrupt as shown in FIG. 57. Here, in synchronism with clock pulses sent from the camera body, serial communication is performed once (B-15) to input data showing the kind of communication into the bracket card.

The kind is judged (B-20) from the data obtained by this communication, and when the kind is the communication (I), the card is set as the data input side (B-25), and serial communication is performed three times (B-30) to receive data (refer to table 6 and table 16) from the camera body. Based on this data, the micro-computer μC₂ executes a subroutine of data setting (B-35) and exposure calculation (B-37). Next, judgment is made on whether or not the release switch S₂ has been turned to ON (B-38), when it has been turned to ON, AF is set to inhibit (=1) (B-39), and processing sleeps.

Here, prior to description on the above-mentioned subroutine, description is made on what sorts of data are outputted from the card is response to communication.

In the communication (II),

all signals other than the following signals are set to "0".

    ______________________________________                                         FL forced OFF (=1)    CS II-1-b.sub.2                                          Card performs display control                                                                        CS II-1-b.sub.4                                          Card function ON/OFF  CS II-1-b.sub.5                                          Communication (V)     CS II-2-b.sub.2                                          Release inhibit       CS II-2-b.sub.3                                          Forced continuous-shot (=1)                                                                          CS II-2-b.sub.4                                          AF inhibit            CS II-2-b.sub.7                                          ΔAV, ΔTV data (=1)                                                                       CS II-3-b.sub.0                                          TV.AV/display data 9=0)                                                                              CS II-3-b.sub.3                                          Communication (IV) EXIST (=1)                                                                        CS II-3-b.sub.4                                          Cmmunication (III) NO (=0)                                                                           CS II-3-b.sub.5                                          Communication type    CS II-3-b.sub.6                                          Photometric loop repeat                                                                              CS II-3-b.sub.7                                          ______________________________________                                    

Signals marked with on the table are set to "1" or "0" in response to the respective cases, and the control thereof is put in the ON state at "1", and put in the OFF state at "0". The determined signals are set to "0" or "1" in a fixed manner. In the communication (II), in addition to the above signals, the number (twice) of communication data of direct address type in the communication (IV) and the address thereof (CS II-7, 8) exist. Since the communication(III) in group communication does not exist, CS II-9- (b₁, b₂)=0, 0 is set. Since the communication(IV) is only of display data. CS II-10-b₁ =1 is set. The others are set to "0". In addition, any data can be entered in blank spaces on the above-mentioned table. In the communication(IV), ΔAv·ΔTV data is outputted, which is stored in the RAM. In the communication(VI), a signal of sleep possible/no is sent.

Next, a subroutine of data setting is shown in FIG. 58(a) to be explained. First, in steps B-146 to B-149, display control data (CS II-1-b₄) is initialized to "0". release inhibit (CS II-2-b₃) to "0", AF inhibit (CS II-2-b₇) to "0", and photometric loop repeat (CS II-3-b₇) to "0".

Subsequently, in step B-150, judgment is made on whether or not the cancel signal (CS I-2-b₀) is "1", and where the signal is "1" release inhibit is set (B-152). Where the signal is not "1", judgment is made in step B-151 on whether or not under-described N₁ equals (N-1), and when it is (N-1), assuming that the set number of film frames has been completed, release inhibit is set (B-152). In reverse, when it is not (N-1), processing proceeds to step B-160 respectively without performing anything.

Next, in step B-160, judgment is made on whether or not a signal DISREQ (request of card name display) obtained by the communication (I) is "1", and where the signal is "1", display control data (CS II-1-b₄) is set to "1", card display function ON/OFF (CS II-1-b₅) to ON (1), and data of group specifying to (0) (B-170˜B-195). Subsequently, in step B-200, it is judged whether or not the flag S1F has been set, and where the flag has not been set, assuming that processing passes through this flow for the first time, the flag S1F is set (B-205), and the timer is reset and started (B-210), and processing proceeds to step B-215. Also, when the flag S1F has been set, processing proceeds directly to step B-215. In step B-215, it is judged whether or not 10 seconds has elapsed from the start of the above-mentioned timer, and where 10 seconds has not elapsed, the photometric loop repeat signal (CS II-3-b₇) is set to "1" (B-220), and data performing only the card name display and the card mark display is set (B-222), and processing returns. FIG. 59 shows this display. On the other hand, where 10 seconds has elapsed the flag S1F is reset (B-226), and display control data is set to "0" (B-227), and processing returns.

If DISREQ=0 in the above-mentioned step B-160, processing proceeds to step B-162, and judgment is made on whether or not IP₅ is "L" (that is, any of the switches S_(EM), S_(FUN), S_(CD), S_(CDS) and S₁ is in the ON state), and when IP₅ is "L", the display flag showing control performing card name display is reset (B-163), and processing proceeds to B-165. An when IP₅ is not "L", processing proceeds to B-165 without performing anything. After resetting the flag S1F in this step B-165, processing proceeds to step B-260 in FIG. 58(b), and judgment is made on whether or not the signal SELF obtained by the communication (II) is "1".

Here, when the signal is "1", processing returns to inhibit control by operation of the switches of the camera (relating to the card). When the signal SELF is not "1", judgment is made on whether or not the card setting switch S_(CDS) has been turned on ON (B-265). When the switch has been turned to ON (signal=1), judgment is made in step B-270 on whether or not the flag CDSF showing that processing has passed herethrough has been set, and if the flag has been set, processing proceeds directly to step B-276, and if the flag has not been set, this flag is set (B-275) and thereafter proceeds to step B-276. In this step B-276, judgment is made on whether or not data is under setting, and if not under setting, processing proceeds to step B-405, and performs display control entering the setting mode. If it is already in the setting mode (SETF=1), processing returns without performing display control because operation has been made to release under-data-setting. When the switch is in the OFF state in step B-265, processing proceeds to step B-280, and judges whether or not the flag (CDSF) has been set, and when it has not been set, proceeds to step B-310. When it has been set, this is reset (B-285), and judgment is made in step B-290 on whether or not the flag SETF showing that data is under setting has been set, and when the flag has been set, this is reset (B-295), and an E² PROM write signal (a signal sent to the camera body is set to 1 (B-300), and direct addressing is set to output the ΔAv, ΔTv data (B-303) and processing proceeds to step B-310. Thereby, processing releases under-setting, and write of data to the E² PROM in the IC card is performed. When the flag SETF showing under-setting has not been set, processing sets this flag (B-305), enters the data setting mode, and proceeds to step B-310. In step B-310, if data is under-setting (SEFT=1), it is judged in step 315 whether or not the card switch S_(CD) has been turned to ON from data sent by the communication (II), and where it has been turned to ON, judgment is made on whether or not the flag CDF showing that processing has passed herethrough has been set (B-320). And when it has been set, processing proceeds to step B-345, and when the flag has not been set, processing sets this flag (CDF=1) in step B-325, advances the changing mode in a sequence of 1←→2 in the following step B-330, and proceeds to step B-345.

Here, the changing modes are as follows:

1--Setting of the value (ΔEv) of exposure shift

2--Setting of the number (N) of film frames

In the above-mentioned step B-315, where the card switch S_(CD) has not been turned to ON, it is judged in step B-335 whether or not the flag CDF has been set. And where it has not been set, assuming that nothing has been operated, processing proceeds to step B-345, and when it has been set, assuming that the switch S_(CD) has turned from ON to OFF, this flag is reset in step B-340, and then processing proceeds to step B-345. In step B-345, it is judged whether or not the up switch Sup has been turned to ON, and when it has been turned to ON, it is judged whether or not the mode is 1, and when the mode is 1, processing proceeds in a sequence of 1→2→3 and after 3, returns to 1 (B-355). Here, in the mode 1, relating to the value setting for the bracket exposure

    ______________________________________                                         1            ΔEV = 0.3                                                                          [EV],                                                   2            ΔEV = 0.5                                                                          [EV],                                                   3            ΔEV = 1.0                                                                          [EV].                                                   ______________________________________                                    

Also in the case of the mode 2, processing proceeds in a sequence of 1→2→3, and after 3, returns to 1 (B-365).

Here, relating to the number of film frames.

1--three frames

2--five frames

3--seven frames

On completing change in each mode, processing proceeds to step B-405. When the up switch Sup is in the OFF state, it is judged whether or not the down switch Sdn has been turned to ON (B-375), and when it has not been turned on ON, processing proceeds to step B-405. The case where it has been turned to ON differs from case of the above-mentioned up switch Sup only in that the changing direction is reverse, and therefore description thereon is omitted.

On completing processing of Sup or Sdn, processing proceeds to step B-405 and the subsequent steps, and performs the following setting; display control SC II-1-b₄ =1, release inhibit CS II-2-b₃ =1, AF inhibit CS II-2-b₇ =1, group specifying=0, and photometric loop repeat CS II-3-b₇ =1, and sets data of display of under-data-setting, and returns. In addition, this display of under-setting is described later. Thereby, the micro-computer μC of the camera body continues display irrespective of display control by the card, release inhibit, AF inhibit and the power holding timer of the camera.

In the above-mentioned step B-310, if judgment is made not to be "under-setting" (SETF=0), processing proceeds to step B-430 in FIG. 58(c), and it is judged whether or not the cards switch S_(CD) has been turned to ON, and when the card switch S_(CD) is in the OFF state, the flag CDF is reset (B-460), and whether or not the display flag has been set is judged (B-462), and when it has not been set, processing returns. When it has been set, processing proceeds to step B-170, and performs control of display of the card name. When the card switch S_(CD) is in the ON state, judgment is made on whether or not the flag CDF showing that processing has passed herethrough has been set (B-435), and when it has been set, assuming that the switch is kept operated, processing proceeds to step B-462. When the flag CDF has not been set, this flag is set (B-440), and in the following step B-445, judgment is made on whether or not the card function is in the ON state based on data CS II-1-b₅ at present, and where it is in the ON state (CS II-1-b₅ =1), it is set to OFF (data of the communication II) (B-450), and the display flag is reset (B-451), and processing returns. In reverse, where the function is in the OFF state (CS II-1-b₅ =0), it is turned to ON (data of the communicationII) in step B-455, and the display flag is set in step B-455, and processing proceeds to step B-170 to perform control of display of the card name.

Reverting to FIG. 57, when communication is not (I), it is judged in step B-40 whether or not the communication is (II), and when the communication is (II), serial communication is performed ten times (B-50) with the card set as the output side (B-45) to output the above-mentioned set data to the camera and processing sleeps.

When communication is not (II), it is judged in step B-55 whether or not the communication is (IV), and when the communication is (IV), the card is set as the output side (B-60), and it is judged in step B-65 whether or not data is group specifying, and when the data is group specifying, assuming that display data is outputted (B-70), address is set, and serial communication is performed nine times (B-75), and processing proceeds to step B-90. When the result of the judgment is not group specifying (direct addressing), the change data of ΔTv, ΔAv is addressed (B-80), and serial communication is performed twice (B-85), and processing proceeds in step B-90. In step B-90, it is judged whether or not on E² PROM write signal has been set, and when it has been set, a write control signal is outputted to write one-byte data of Nos. of the mode 1 for the value ΔEv and the mode 2 for the number N to predetermined addresses of the E² PROM (B-95). A write to the E² PROM is performed by the hardware, and the micro-computer μC has only to send a control signal. Then, a write end signal (on completing the write, this signal is set automatically by a hardware configuration) is reset (B-100), and processing sleeps. When the write signal is not inputted, processing sleeps immediately. When the communication is not (IV) in step B-55, assuming that it is the communication(IV), first, whether or not the write has been completed is judged by the above-mentioned end signal (B-105), and when the write has been completed, a sleep-possible signal is set (B-110), and when it has not been completed, a sleep-no signal is set (B-115), and processing proceeds to step B-120 respectively, and the card is set as the data output side (B-120), serial communication is performed once in response to clock pulses from the camera body (B-125), and processing sleeps.

The subroutine of the exposure calculation in the above-mentioned flow is shown in detail in FIG. 60. In FIG. 60, where the card function is in the OFF state (CS II-1-b₅ =0), processing returns without performing anything. In reverse, where the card function is in the ON state (CS II-1-b₅ =1), in steps B-505 to B-520, judgment of the mode for the value ΔEv and settings of the value ΔEv thereof are performed, and further in steps B-525 to B-540, judgment of the mode of the number N and settings of the number thereof are performed. After the above-mentioned judgments and settings, in steps B-545, B-555 and B-560, initializations are respectively performed, and the first frame of the frames is exposed correctly. When the release switch S₂ is turned to ON, 1 is added to the counter N₁ indicating the number of film frames (B-550), judgment of the value of N₁ is performed B-565, and the quantity of exposure is varied in response to the value N₁ in a sequence of B-570, B-575, . . . , B-595.

Thereafter, processing proceeds to step B-600, and in this step, judgment of the exposure mode is performed. In the P mode, the diaphragm aperture value and the shutter speed are adjusted respectively by 1/2 ΔEv. In the A mode and the S mode, the calculated shutter speed and diaphragm aperture value are respectively adjusted by ΔEv. And in the M mode, assuming that the diaphragm aperture value is desired to be changed when the diaphragm aperture changing switch is turned to ON, in reverse, the shutter speed is desired to be changed when the switch is turned to OFF, adjustment is performed by ΔEv in the respective cases. As described above, in steps B-605 to B-635, ΔTv and/or Δ Av are set in response to each mode and processing returns.

FIG. 61 shows display at data setting in the case of the bracket card.

In FIG. 61, (a) shows the normal display. When the switch S_(CDS) is turned to ON in this state, the display is changed as shown in (b), and the value ΔEv of exposure and the number N of film frames set at the last time are displayed. When the switch S_(CDS) is turned to OFF, as shown in (c), only the quantity of exposure is displayed with blinking. Here, every time the up switch Sup is turned to ON, the display is varied in a sequence of (c)→(d)→(e)=(c)→. . . , on the other hand, every time the down switch Sdn is turned on ON, the display is varied in a sequence of (c)→(e)→(d) →(c). . . ;

For example, by turning on the switch S_(CD) in the state of (d), as shown in (g), the number of film frames is displayed with blinking. Further, by tuning on the up switch Sup in this state of (g), the display in varied in a sequence of (g)→(h)→(f)→(g)→. . . with every turn-on of the up switch Sup, on the other hand. the display is varied in a sequence of (g)→(h)→(f) →(g)→. . . with every turn-on of the down switch Sdn.

In addition, for example, when the switch S_(CDS) is turned to ON in the state of (f), the display reverts back to the normal display and becomes in the stand-by state.

(6) Close-up card

Next, description is made on operation of the close-up card.

Here, the close-up card is a card used in macro photographing close to a subject.

The micro-computer μC_(Z) of the close-up card executes a routine of resetting as shown in FIG. 62 when this card is attached to the camera body, resets all of the flags and the resistors (RAM) (E-5), and processing sleeps.

Next, when a signal changing from "L" to "H" is sent from the camera body to the terminal CSCD of this card, the micro-computer μC_(Z) of the close-up card executes a routine of an interrupt as shown in FIG. 63. Here, in synchronism with clock pulses sent from the camera body, serial communication is performed once (E-15) to input data showing the kind of communication.

The kind is judged (E-20) from the data obtained by this communications, and when the kind is the communication(I), the card is set as the data input side (E-25), and serial communication is performed three times (E-30) to receive data (refer to table 6 and table 17) from the camera body. Based on this data, the micro-computer μC₂ executes a subroutine of data setting (E-35), and processing sleeps.

Here, prior to description on the above-mentioned subroutine, description is made on what sorts of data are outputted from the card is response to communication.

In the communications(II),

all signals other than the following signals are set to "0".

    ______________________________________                                         FL forced ON (=1)      CS II-1-b.sub.1                                         GN restriction release (=1)                                                                           CS II-1-b.sub.3                                         Card performs display controI                                                                         CS II-1-b.sub.4                                         Card function ON/OFF   CS II-1-b.sub.5                                         Blurring warning buzzer EXIST/NO                                                                      CS II-1-b.sub.7                                         P shift inhibit (=1)   CS II-2-b.sub.0                                         Forced P mode (=1)     CS II-2-b.sub.1                                         Communication (V) NO (=0)                                                                             CS II-2-b.sub.2                                         Release inhibit (=1)   CS II-2-b.sub.3                                         AF one-shot (=1)       CS II-2-b.sub.6                                         TV.AV/display data     CS II-3-b.sub.3                                         Communication (IV) EXIST (=1)                                                                         CS II-3-b.sub.4                                         Communication (III) EXIST (=1)                                                                        CS II-3-b.sub.5                                         Group specifying (=0)  CS II-3-b.sub.6                                         Photometric loop repeat                                                                               CS II-3-b.sub.7                                         Blurring warning buzzer control (=1)                                                                  CS II-4-b.sub.0                                         AF spot (=1)           CS II-4-b.sub.1                                         Low contrast scan inhibit (=1)                                                                        CS II-4-b.sub.2                                         ______________________________________                                    

Further, in the case of close-up photographing, focus conditions is changed even by a slight motion of the subject due to a large image magnification. When multi-spot distance measurement is performed, as compared with one-spot distance measurement, it is difficult to focus because the information for focus condition is obtained too much. So, single spot AF mode is set. Furthermore, inhibition of scanning for low contrast is based on the reason why the focusing range is narrow in the macro photographing.

Signals marked with on the table are set to "1" or "0" in response to the respective cases, and the control thereof is put in the ON state at "1", and put in the OFF state at "0". The determined signals are set to "0" or "1" in a fixed manner. In the communication(II), in addition to the above signals. CS II-9-b₁ =1 is set to specify group 1 of the communication III in group communication. And since the display data and the control data are transmitted in communication(IV) CS II-10-b₁, b₂ =1, 1 are set. The others are set to "0".

In addition, any data can be entered in blank spaces on the above-mentioned table.

In the communication(VI), a signal of sleep-good is sent. This is because data of write control to the E² PROM does not exist.

Next, a subroutine of data setting is shown in FIG. 64(a) to be explained. First, in steps E-146 and E-147, display control data (CS II-1-b₄) and release inhibit data (CS II-2-b₃) are initialized to "0", and processing proceeds to step E-160. In step E-160, judgment is made on whether or not a signal DISREQ (request of card name display) obtained by the communication(I) is "1", and where the signal is "1", display control data (CS II-1-b₄) is set to "1" (E-170), and card display function ON/OFF (CS II-1-b₅) is set to ON (1) (E-175). Subsequently, it is judged in step E-200 whether or not the flag S1F has been set. Here, where the flag has not been set, assuming that processing passes through this flow for the first time, the flag S1F is set (E-205), and the timer is reset and started (E-210), and processing proceeds to step E-215.

When the flag S1F has been set, processing proceeds directly to step E-215. In step E-215, it is judged whether or not 10 seconds has elapsed from the start of the above-mentioned timer, and where 10 seconds has not elapsed, the photometric loop repeat signal (CS II-3-b₇) is set to "1" (E-220), and data performing only the card name display and the card mark display is set (E-222), and processing returns. FIG. 65 shows this display. On the other hand, where 10 seconds has elapsed, the photometric loop repeat signal (CS II-3-b₇) is set to "0" (E-225), the flag S1F is reset (E-226), and display control data is set to "0" (E-227), and processing returns.

If DISREQ=0 in the above-mentioned step E-160, processing proceeds to step E-162, and judment is made on whether or not IP₅ is "L" (that is, any of the switches S_(EM), S_(FUN), S_(CD), S_(CDS) and S₁ is in the ON state), and when IP₅ is "L", the display flag showing control performing card name display is reset (E-163) and processing proceeds to step E-165, and when IP₅ is not "L", processing proceeds to step E-165 without performing anything. After resetting the flag S1F in this step E-165, processing proceeds to step E-260 in FIG. 64(b), and judgment is made on whether or not the signal SELF obtained by the communication(II) is "1".

Here, when the signal is "1", processing returns to inhibit the control by operation of the switches of the camera. When the signal SELF is not "1" processing proceeds to step E-430 in FIG. 64(c), and it is judged whether or not the card switch S_(CD) has been turned to ON. Here, when the card switch S_(CD) is in the OFF state, the flag CDF is reset in step E-460, and it is judged in step E-462 whether or not the display flag has been set. and when it has not been set, processing returns. When it has been set, processing proceeds to step E-170, and performs control of display of the card name. In the above-mentioned step E-430, when the card switch S_(CD) is in the ON state, judgment is made on whether or not the flag CDF showing that processing has passed herethrough has been set (E-435), and when it has been set, assuming that the switch is kept operated, processing proceeds to step E-462. When the flag CDF has not been set, this flag is set (E-440), and in the following step E-445, judgment is made on whether or not the card function is in the ON state based on data CS II-1-b₅ at present, and where it is in the ON state (CS II-1-b₅ =1), it is set to OFF (CS II-1-b₅ =0) (E-450), and the display flag is reset (E-452) and processing returns. In reverse, where the function is in the OFF state (CS II-1-b₅ =0), it is turned to ON (CS II-1-b₅ =1) in step E-455, and the display flag is set (E-458), and processing proceeds to step E-170 to perform control of display of the card name.

Reverting to FIG. 63, when communication is not (I), it is judged in step E-40 whether or not the communication is (II), and when the communication is (II), serial communication is performed ten times (E-50) with the card set as the output side (E-45) to output the above-mentioned set data to the camera body, and processing sleeps.

When communication is not (II), it is judged in step E-51 whether or not the communication is (III), and when the communication is (III), the card is set as the input side (E-52), and serial communication is performed fifteen times (E-53) to input the data of the camera. In the following step E-54, data for controlling the camera is calculated (including exposure calculation), and processing sleeps. This calculation is described later.

When communication is not (III), it is judged in step E-55 whether or not the communication is (IV), and when the communication is (IV), the card is set as the output side (E-60), and it is judged in step E-65 whether or not data is for display control, and when the data is for display control, display data is outputted (E-70), addresses are set, and serial communication is performed nine times (E-75), and processing sleeps. When the result is not for display control (Tv, Av data), Tv, Av data is addressed (E-80), serial communication is performed four times (E-85), and processing sleeps. When the communication is not (IV), assuming that it is the communication(VI), first, the card is set as the data output side (E-120), and serial communication is performed once in response to clock pulses from the camera body (E-125), and processing sleeps.

Next, description is made on the subroutine of the calculation in step E-54 in FIG. 63 in reference to FIGS. 66(a) and 66(b).

First, in step E-500, a blurring limit shutter speed T_(VH) is evaluated from the focal length f from the following equation:

    T.sub.VH =1.25×log.sub.2 (f/50)+5.875

and T_(VH) is limited in steps E-to E-520.

Subsequently, in steps E-525 to E-535, in order to photograph by natural light without using flashlight, if possible, processing evaluates a smaller one of T_(VH) and T_(VX) for the shutter speed determining flashlight emission. Here, Tvx represents synchronizing speed.

Next, in steps E-540 to E-570, control limits of the control shutter speed Tvc and the control diaphragm aperture value Avc are determined from the control limit exposure value. In the following step E-575, judgment is made on whether or not the image magnification β is effective, and where it is not effective, processing proceeds to step E-670 and the subsequent steps. When the image magnification β is effective, whether or not β≧1 is satisfied is judged in step E-580. In the case of β≧1, the features of this close-up card are not made good use of, and therefore the card function is turned to OFF (CS II-1-b₅ =0) (E-585), and processing returns. In the case of β<1, processing proceeds to step E-590, and it is judged whether or not β<1/4. Here, in the case of β<1/4, processing proceeds to step E-670, If β>1/4, in step E-595, an aperture value Avβ is calculated according to the following equation:

    Avβ=7-log.sub.2 (1/β)

FIG. 67 shows the change in the diaphragm aperture value

Av β depending on the image magnification β. The program line diagram thereof is shown in FIG. 68.

Thereafter, the flow of step E-600 and the subsequent steps is executed.

First, Avβ is set as Avc, and the calculated shutter speed Tv is evaluated from Evs-Avc. Judgment is made on whether Tv exceeds Tvmax, and where it exceeds Tvmax, the control shutter speed Tvc is set to Tvmax and the control diaphragm aperture value AVC is re-evaluated from Evs-Tvmax, and processing proceeds to #660.

In the case of Tv≦Tvmax, it is judged whether or not Tv<I_(VF), and when Tv≧T_(VF), Tvc is set to Tv, and processing proceeds to #660. When Tv<T_(VF), the control diaphragm aperture value Avc is evaluated from Evs-T_(VF) and it is judged whether or not Avc<Avmin. When Avc<Avmin, Avc-Avmin is set, and TVC is re-evaluated from Evs-Avc, and processing proceeds to #660. When Avc≧Avmin, TVC is set to T_(VF), and processing proceeds to #660. Judgment is made on whether or not the exposure value Evs is not less than T_(VF) +Avmin, and when an equation EV<T_(VF) +Avmin is satisfied and also the flash is turned to ON, processing proceeds to flash control.

    ______________________________________                                         E-725  The exposure value E.sub.VA of the background is                               evaluated from E.sub.VA = B.sub.VA + SV                                 E-730  EVC = E.sub.VA + 1 is set so that the background may                           be under-exposed by 1 EV. This is because the                                  main subject is designed to be exposed                                         properly by background light and flashlight.                            E-735  The shutter speed TV is evaluated from TV = EVC-                               AVC, and judgment is made on whether or not TV                          E-775  is not less than T.sub.VH (the smaller of the                                  blurring limit shutter speed T.sub.VF and the                                  maximum synchronizing speed TVX). When TV ≧                             T.sub.VH, TVC = TV is set and judgment is made on                              whether or not it is not less than the minimum                                 shutter speed TV min, and when it is less than                                 TV min, TVC = TV min is set for the limit value,                               and processing proceeds to E-780.                                              When TV < T.sub.VH, TVC = TVX is set for the                                   synchronizing speed, and the control diaphragm                                 aperture value AVC is evaluated from AVC = EVC-                                TVC, and it is judged whether or not AVC                                       exceeds the maximum diaphragm aperture value                                   AV max. When it exceeds AV max, AV max is set as                               AVC, and processing proceeds to E-780.                                  E-780  The light adjusting level TTL is calculated                                    (described later), a flashlight emitting                                       signal is set, and the blurring warning buzzer                                 is turned to OFF, and processing proceeds to                                    . The adjustment level is TTL is calculated                                   by:                                                                     TTL = x,          when,      β ≧ 1/2                               TTL = x + 0.25    1/2 ≧                                                                              β ≧ 1/3                               TTL = x + 0.5,    1/3 ≧                                                                              β ≧ 1/4                               TTL = x + 0.75,   1/4 ≧                                                                              β                                            ______________________________________                                    

where x is another adjustment value.

Because, when the rate of occupation of the image plane by the subject becomes small (β is small), the quantity of light reflected back from the subject becomes small, and output of a flashing end signal is delayed, and the quantity of light emission is increased, resulting in an over-exposure. To correct this, the quantity of light emission is decreased with decreasing of β.

When β cannot be used, assuming that it is caused by a subject of 1/4>β, TTL=x+0.75 is set. Then, for the control quantity Svc of adjusted light, TTL is added to film speed Sv. This calculation of the light adjusting level is shown in FIG. 66(c) to be explained. The exposure value Evc is evaluated from Avc+Tvc in step E-810, and then it is judged in step E-815 whether or not Evc-Evs (exposure value of main subject)>0. If Evc-Evs≦0, the quantity of adjustment is set to x=1.5, thereby the quantity of light emission (quantity of adjusted light) is set under so that the main subject is not over-exposed, and processing proceeds to step E-840.

If Evc-Evs>0 it is judged whether or not Evc-Evs>3. and if Evc-Evs≧3, the quantity x of adjustment is set to 0, and processing proceeds to step E-840. If Evc-Evs≦3, x=(Evs-Evc+3)/2 is set, and processing proceeds to step E-840. In step E-840 it is judged whether or not the image magnification β can be used, and when it can be used, in the case where Evs≧Tvr+Avmin or the flash is in the OFF state (including the case where the flash is not attached), judgment of blurring is performed. Judgment of blurring of this close-up card is similar to that of the sports card.

Reverting to FIG. 66(b), in steps E-795 to E-805, release can not be performed without focusing. This means that release inhibit CS II-2-b₃ =1 is set in-focus state and that release inhibit CS II-2-b₂ =0 is set in out-of focus state, and thereafter processing respectively returns.

When β information is not effective, or when β <1/4, processing proceeds to E-670, and in this step, calculation of Av₁ for Avc is performed according to the equation:

    Av.sub.1 =Avmin+1/2{Evs-(Avmin+T.sub.VM)}

In steps E-680 to E-695, adjustment of the limit of the diaphragm aperture value is performed, and the control shutter speed is evaluated from the control diaphragm aperture value, and processing proceeds to #660.

(7) Auto shift card

Next, description is made on operation of the auto shift card.

Auto shift means to change a combination of Av, Tv with the same exposure automatically at each time for three continuous photographs.

The micro-computer μC₂ of the Auto shift card executes a routine of resetting as shown in FIG. 69 when this card is attached to the camera body. First, the micro-computer μC₂ resets all of the flags and the registers (RAM) (T-5), moves information in the E² PROM to the RAM (T-10), and processing sleeps.

Next, when a signal changing from "L" to "H" is sent from the camera body to the terminal CSCD of this card, the micro-computer μC₂ of auto shift card executes a routine of an interrupt as shown in FIG. 70. Here, in synchronism with clock pulses send from the camera body, serial communication is performed once (T-15) to input data showing the kind of communication.

The kind is judged (T-20) from the data obtained by this communication, and when the kind is the communication(I), the card is set as the data input side (T-25), and serial communication is performed three times (T-30) to receive data (refer to table 6 and table 18) from the camera body. Based on this data, the micro-computer μC₂ executes a subroutine of data setting. Next, judgment is made on whether or not the release switch (S₂) has been turned ON (T-38), and when it has been turned ON, AF is inhibited (CS II-2-b₇ =1) (T-39), and processing sleeps.

Here, prior to description on the above-mentioned subroutine, description is made on what sorts of data are outputted from the card in response to communication.

In the communication (II),

all signals other than the following signals are set to "0".

    ______________________________________                                         FL forced OFF (=1)     CS II-1-b.sub.2                                         Card performs display control                                                                         CS II-1-b.sub.4                                         Card function ON/OFF   CS II-1-b.sub.5                                         Blurring warning buzzer ON/OFF                                                                        CS II-1-b.sub.7                                         P shift inhibit (=1)   CS II-2-b.sub.0                                         Forced P mode (=1)     CS II-2-b.sub.1                                         Communication (V) NO (=1)                                                                             CS II-2-b.sub.2                                         Release inhibit        CS II-2-b.sub.3                                         Forced continuous-shot (=1)                                                                           CS II-2-b.sub.4                                         AF inhibit             CS II-2-b.sub.7                                         Tv.Av/display data     CS II-3-b.sub.3                                         Communication (IV) EXIST (=1)                                                                         CS II-3-b.sub.4                                         Communication (III) EXIST (=1)                                                                        CS II-3-b.sub.5                                         Communication type (=0)                                                                               CS II-3-b.sub.6                                         Photometric loop repeat                                                                               CS II-3-b.sub.7                                         Blurring warning buzzer control (=1)                                                                  CS II-4-b.sub.0                                         ______________________________________                                    

Signals marked with on the table are set to (37 1" or "0" in response to the respective cases, and the control thereof is put in the ON state at "1", and put in the OFF state at "0". The determined signals are set to "0" or "1" in a fixed manner. In the communication (II), in addition to the above signals, since the communication (III) in group communication is only of G₁, CS II-9-(b₁, b₂, b₃)=1, 0, 0 are set. Further, since the communication (IV) is of two data of display and control data, CS II-10-b₁, B₂ =1, 1 are set. The others are set to "0".

In addition, any data can be entered in blank spaces on the above-mentioned table.

In the communication (VI), a signal of sleep possible/no is sent.

Next, a subroutine of data setting is shown in FIG. 71(a) to be explained. First, in steps T-146 to T-148, display control data (CS II-1-b₄) is initialized to "0", release inhibit (CS II-2-b₃) to "0", AF inhibit (CS II-2-b₇) to "0", and further in step T-169, photometric loop repeat (CS II-3-b₇) to "0", and subsequently in step T-150, judgment is made on whether or not a cancel signal is "1", and where the signal is "1", release inhibit (CS II-2-b₃) is set (T-152). In reverse, where the signal is not "1", judgment is made on whether or not N, representing the number of exposed frame is "2" (T-151), and where it is "2", assuming that three frames have already been exposed, release inhibit is set (T-152). Where N₁ is not "2", processing proceeds to step T-160 respectively without performing anything.

In this step T-160, judgment is made on whether or not a signal DISREQ (request of card name display) obtained by the communication (I) is "1", and where the signal is "1", display control data is set to "1" (T-170), card display function ON/OFF is set to ON (1) (CS II-1-b₅ =1) in step T-175. Subsequently, it is judged in step T-200 whether or not the flag S1F has been set, and where the flag has not been set, assuming that processing passes through this flow for the first time, the flag S1F is set (T-205), and the timer is reset and started (T-210), and processing proceeds to step T-215.

When the flag S1F has been set, processing proceeds directly to step T-215. In step T-215, it is judged whether or not 10 seconds has elapsed from the start of the above-mentioned timer, and where 10 seconds has not elapsed, the photometric loop repeat signal is set to "1" (T-220), and data performing only the card name display and the card mark display is set (T-222), and processing returns. FIG. 72 shows this display. On the other hand, where 10 seconds has elapsed, the flag S1F is reset (T-226), and display control data is set to "0" (T-227), and processing returns.

If DISREQ=0 in the above-mentioned step T-160, judgment is made on whether or not IP₅ is "L" (that is, any of the switches S_(Em), S_(FUN), S_(CD) S_(CDS) and S₁ is in the ON state) in step T-162, and when IP₅ is "L", the display flag showing control performing card name display is reset (T-163), and processing proceeds to T-165. When IP₅ is not "L", processing proceeds to T-165 without performing anything. After resetting the flag S1F in this step T-165, processing proceeds to step T-260 in FIG. 71(b), and judgment is made on whether or not the signal SELF obtained by the communication (II) is "1". Here, when the signal is "1", processing returns to inhibit the card control by operation of the switches of the camera. When the signal SELF is not "1", judgment is made on whether or not the card setting switch S_(CDS) has been turned to ON (T-265). When the switch has been turned to ON, in step T-270, judgment is made on whether or not the flag CDSF showing that processing has passed herethrough has been set. And if the flag has been set, processing proceeds directly to step T-276, and if the flag has not been set, processing sets this flag (T-275) and thereafter proceeds to step T-276. In this step T-276, judgment is made on whether or not data is under setting, and if not under setting, processing proceeds to step T-405, and performs display control entering the setting mode. If it is already in the setting mode (SETF=1), processing returns without performing display control because operation has been made to release setting mode.

When the card setting switch S_(CDS) is in the OFF state in step T-265, processing proceeds to step T-280, and judges whether or not the flag CDSF has been set, and when it has not been set, proceeds to step T-310. When is has been set, this is reset (T-285), and judgment is made in step T-290 on whether or not the flag SETF showing that data is under setting has been set. Here, when the flag has been set, this is reset (T-295), and an E² PROM write signal is set to 1 (T-300), and direct addressing=1 is set (T-302), and processing proceeds to step T-310. Thereby, processing releases under-setting. When the flag SETF showing under-setting has been set, this flag is set (T-305) to enter the data setting mode, and processing proceeds to step T-310. In step T-310, it is judged whether or not the flag SETF is "1", and where it is "1", processing proceeds to step T-345.

In step T-345, it is judged whether or not the up switch Sup has been turned to ON, and when it has been turned to ON, processing proceeds in a sequence of 1→2→3, and after 3, returns to 1 cyclically (T-355). Here, relating to the quantity of shift for the combination of the exposure value,

2--1 Ev

2--2 Ev

3--3 Ev

On completing change in this mode, processing proceeds to step T-405. When the up switch Sup is in the OFF state, it is judged in step T-375 whether or not the down switch Sdn has been turned to ON, and when is has not been turned to ON, processing proceeds to step T-405. The case where it has been turned to ON differs from the case of the above-mentioned up switch Sup only in that the changing direction is reverse, and therefore description thereon is omitted.

On completing processing of the up switch Sup or the down switch Sdn, processing proceeds to step T-405 and the subsequent steps, and performs the following setting: display control (CS II-1-b₄)=1, release inhibit (CS II-2-b₃)=1, AF inhibit (CS II-2-b₇)=1, group specifying=0, and photometric loop repeat (CS II-3-b₇)=1, and sets data of display for data-setting, and returns. In addition, this display of under-setting is described later. Thereby, the micro-computer μC of the camera body executes the function of continuing display irrespective of display control by the card, release inhibit, AF inhibit and the power holding timer of the camera.

In the above-mentioned step T-310, if judgment is made not to be "under-setting" (SETF=0), processing proceeds to step T-430 in FIG. 71 (c), and it is judged whether or not the card switch S_(CD) has been turned to ON, and when the card switch S_(CD) is in the OFF state, the flag CDF is reset in step T-460, and it is judged in step T-462 whether or not the display flag has been set, and when it has not been set, processing returns. When it has been set, processing proceeds to step T-170, and performs control of display of the card name as shown in FIG. 72. In the above-mentioned step T-430, when the card switch S_(CD) is in the ON state, judgment is made in step T-435 on whether or not the flag CDF showing that processing has passed herethrough has been set, and when it has been set, assuming that the switch is kept operated, processing proceeds to step T-462. When the flag CDF has been set, this flag is set (T-440), and in the following step T-445, judgment is made on whether or not the card function is in the ON state at present, and where it is in the ON state, it is set to OFF (data of the communication II) (T-450), and the display flag is reset (T-451) and processing returns. In reverse, where the function is in the OFF state, it is turned to ON (data of the communication II) in step T-455, and the display flag is set in step T-456, and processing proceeds to step T-170 performing control of display of the card name as shown in FIG. 72.

Reverting to FIG. 70, when communication is not (I), whether or not the communication (II) is judged in step T-40, and when the communication is (II), serial communication is performed ten times (T-50) with the card set as the output side to output the above-mentioned set data to the camera body (T-45), and processing sleeps.

When communication is not (II), it is judged in step T-51 whether or not the communication is (III), and when the communication is (III), the card is set as the input side (T-52), and serial communication is performed fifteen times (T-53). Further, calculation of ΔTv, ΔAv is performed in step T-54 and processing returns. This calculation is shown in FIGS. 73 (a) and 73(b).

When communication is not (III), it is judged in step T-55 whether or not the communication is (IV), and when the communication is (IV), the card is set as the output side (T-60), and it is judged in step T-65 whether or not data is of display control, and when the data is of display control, display data is outputted (T-70), address is set, and serial communication is performed nine times (T-75), and processing proceeds to step T-90. When the result of judgment in step T-65 is not of display control, control data is addressed (T-80), and serial communication is performed four times (T-85), and processing proceeds to step T-90. In step T-90, it is judged whether or not an E² PROM write signal has been set, and when it has been set, a write control signal is outputted to write one byte data of the set number of the setting mode to predetermined addresses of the E² PROM (T-95). A write to the E² PROM is performed by hardware, and the micro-computer μC has only to send a control signal. Then, a write end signal (on completing the write, this signal is set automatically by the hardware configuration) is reset (T-100), and processing sleeps. When the write signal is not inputted, processing sleeps immediately. When the communication is not (IV), assuming that it is the communication (VI), first, it is judged by the above-mentioned end signal whether or not write has been completed (T-105), and when write has been completed, a sleep-good signal is set (T-110), and when it has not been completed, a sleep-no signal is set (T-115), and processing proceeds to step T-120 respectively. In step T-120, the card is set as the data output side, serial communication is performed once in response to clock pulses from the camera body (T-125), and processing sleeps.

FIGS. 73(a) and 73(b) show calculation control in step T-54 in FIG. 70. Here, B_(VA) represents a background luminance, Bvs represents a main subject luminance, and B_(vAVE) represents an average luminance. When the card function is in the OFF state in step T-550, processing returns. When the card function is in the ON state, it is judged in step T-505 whether or not B_(VA) -B_(VS) ≧1. If B_(VA) Bvs≧1, Bvc=B_(DS) is set (T-510), and if B_(VA) -Bvs<1, Bvc=B_(AVE) is set (T-515). This setting is performed so as to make main subject have priority for exposure and also make the whole to be exposed properly. An exposure value Evc is evaluated in step T-520 from Bvc+Sv and this value shows to exceed a control limit value. If YES in judgment of steps T-525 or T-530, shift function is disabled, the card function is turned to OFF (T-535), and processing returns. In step T-540, a control exposure value is calculated in a manner that it equals neither the limit value of diaphragm aperture value nor the limit value of the shutter speed.

A control shutter speed Tvc is evaluated in Step T-545 from Avc and Evc already determined, and judgment of the mode is performed (T-550). In the following steps T-555, T-560, T-565, ΔEv=1 is set for the No. 1 of setting mode. ΔEv=2 is set for the No. 2, and ΔEv=3 is set for the No. 3. After setting of ΔEv=3, it is judged in step T-570 whether or not open F value exceeds 4, and when it exceeds 4, since there are many cases where the lens therefore has only 6 Ev steps for aperture value width, ΔEv=2 is set forcibly (T-590), and processing proceeds to step T-580.

In step T-580, judgment is made on whether or not a release switch S₂ has been turned to ON, and when it has not been turned to ON, N₁ =0 ΔTv=0, 66 Av=0 are set in steps T-615, T-620, T-625 and the first frame follows in line in the program diagram. However, since program shift is made possible, 0.5 Ev is added to or subtracted from ΔAv₁ and is subtracted from or added to ΔTv₁ in response to the turn-on of the up switch or the down switch, and processing proceeds to step T-660.

When the release switch S₂ has been turned to ON, 1 is added to N₁ and thereafter judgment of N₁ is performed. If N₁ =1, ΔTv=ΔEv, ΔAv=-ΔEv are set, and if N₁ =2, ΔTv=-ΔEv, ΔAv=ΔEv are set. If N₁ =3, setting is not performed, and processing proceeds to step T-660. In step T-660, Tv and Av are evaluated from Tv=Tvc+ΔTv₁ +ΔTv and Av=Avc+ΔAv₁ +ΔAv respectively.

When Tv exceeds either Tvmax or Tvmin, and Av exceeds either Avmax or Avmin, Tv and Av are set for the respective control limit values, while, the control diaphragm aperture value Avc and the control shutter speed Tvc are respectively calculated by feed-back of the exceeding quantity (T-670˜T-755). Thereafter, a maximum blurring limit shutter speed T_(vH) is evaluated in step T-760 from the following equation:

    T.sub.VH =1.125×log.sub.2 (f/50)+5.875

wherein, f represents a focal length.

When the release switch S₂ has been turned to ON, the blurring warning buzzer is turned to OFF (T-785), and processing returns. When the release switch S₂ has not been turned to ON, ΔEv is subtracted from Tv (T-770). Judgment is made in step T-775 on whether or not Tv is not more than the blurring limit shutter speed (T_(VH) -1), and if Tv≦T_(VH) -1, the blurring warning buzzer is turned to ON (T-780), in reverse, if Tv>T_(VH) -1, the buzzer is turned to OFF (T-785), and processing returns respectively.

Here, the reason why the blurring limit for two and three frames is set as T_(VH) -1 is that the blurring becomes smaller than the first frame photograph without depressing the operation switch.

FIG. 74 is a standard program diagram of the above-mentioned determination of the combination between Tv and Av.

Further, FIG. 75 shows the content of display at setting. When the mode is the normal display mode (a), by operating the switch S_(CDS), the mode turns to the setting mode as shown in, for example, (b). Here, "1" and "card" are displayed in a blinking fashion at the top and bottom areas respectively. "1" at the top area represents the quantity of exposure shift and "3" at the middle area represents the quantity of exposed film frames. When the up switch Sup or the down switch Sdn is operated in the state of (b), the display is varied in a sequence of (b)→(c)→(d)→(b) --, or (b)→(d)→(b)→(c)→(b) --with every operation of the switch. In any case, by depression of the switch S_(CDS), the mode returns to the normal display mode (a). In FIG. 75, relating to the normal display mode (a), only a block thereof is shown and illustration of the content of the display is omitted.

(8) H/S card

Next, description is made on operation of the H/S card.

H/S card is so designed that an exposure is set under by a predetermined quantity (highlight . H) to a correct exposure in order to photograph a black subject as black, or the exposure is set over by a predetermined quantity (shadow . S) in order to photograph a white subject as white.

The micro-computer μC₂ of the H/S card executes a routine of resetting as shown in FIG. 76 when this card is attached to the camera body, resets all of the flags and the registers (RAM) (H-5), moves information in the E² PROM to the RAM (H-10), and processing sleeps.

Next, when a signal changing from "L" to "H" is sent from the camera body to the terminal CSCD of this card, the micro-computer μC₂ of the H/S card executes an interrupt as shown in FIG. 77. Here, in synchronism with clock pluses sent from the camera body, serial communication is performed once to input data showing the kind of communication (H-15).

The kind is judged (H-20) from the data obtained by this communication, and when the kind is the communication (I), the card is set as the data input side (H-25), and serial communication is performed (H-30) to receive data (refer to table 6 and table 19) from the camera body. Based on this data, the micro-computer μC₂ executes a subroutine of data setting (H-35), and processing sleeps.

Here, prior to description on the above-mentioned subroutine, description is made on what sorts of data are outputted from the card in response to communication.

In the communication (II),

all signals other than the following signals are set to "0".

    ______________________________________                                         FL forced OFF (=1)   CS II-1-b.sub.2                                           Card performs display control                                                                       CS II-1-b.sub.4                                           Card function ON/OFF CS II-1-b.sub.5                                           Communication (V) N0 (=0)                                                                           CS II-2-b.sub.2                                           Release inhibit      CS II-2-b.sub.3                                           AF inhibit           CS II-2-b.sub.7                                           TV · Av/display data                                                                       CS II-3-b.sub.3                                           Communication (IV) EXIST (=1)                                                                       CS II-3-b.sub.4                                           Communication (III) EXIST (=1)                                                                      CS II-3-b.sub.5                                           Communication type   CS II-3-b.sub.6                                           Photometric loop repeat                                                                             CS II-3-b.sub.7                                           ______________________________________                                    

Signals marked with on the table are set to "1" or "0" in response to the respective cases. The determined signals are set to "0" or "1" in a fixed manner. In the communication (II), in addition to the above signals, the number (twice) of communication data of direct address type in the communication (IV) and the address thereof (CS II-7, 8) exist. In order to specify groups G₁, G₃ of the communication (III) in group communication, CS II-9-(b₁, b₂, b₃)-1, 0, 1 is set. Since the communication (IV) is only of display data, CS II-10-b₁ =1 is set. The others are set to "0".

In addition, any data can be entered in blank spaces on the above-mentioned table.

In the communication (IV), data of ΔAv, ΔTv which is used for adjustment is outputted from the E² PROM.

In the communication (VI), a signal of sleep possible/no is sent.

Next, a subroutine of data setting is shown in FIG. 78(a) to be explained. First, in steps H-146 to H-149, display control data (CS II-1-b₄) is initialized to "0", release inhibit (CS II-2-b₃) to "0", AF inhibit (CS II-2-b₇) to "0", and photometric loop repeat (CS II-3-b₇) to "0", and processing proceeds to step H-160. In step H-160, judgment is made on whether or not a signal DISREQ (request of card name display) obtained by the communication (I) is "1", and where the signal is "1", display control data is set to "1", card display function ON/OFF to ON (1), and data of group specifying to "0" (H-170 to H-195). Subsequently, whether or not the flag S1F has been set is judged (H-200), and where the flag has not been set, assuming that processing passes through this flow for the first time, the flag S1F is set (H-205), and the timer is reset and started (H-210), and processing proceeds to step H-215. When the flag S1F has been set, processing proceeds directly to step H-215. In step H-215, it is judged whether or not 10 seconds has elapsed from the start of the above-mentioned timer, and where 10 seconds has not elapsed, the photometric loop repeat signal is set to "1" (H-220), and data performing only the card name display and the card mark display is set (H-222), and processing returns. FIG. 79 shows this display. On the other hand, where 10 seconds has elapsed, the flag S1F is reset (H-226), and display control data is set to "0" (H-227), and processing returns.

If DISREQ=0 in the above-mentioned step H-160, processing proceeds to step H-162, and judgment is made on whether of not IP₅ is "L" (that is, any of the switches S_(EM), S_(FUN), S_(CD), S_(CDS) and S₁ is in the ON state), and when IP₅ is "L", the display flag showing control performing card name display is reset (H-163), and when IP₅ is not "L", processing proceeds to H-165 respectively without performing anything. After resetting the flag S1F in this step H-165, processing proceeds to step H-260 in FIG. 78(b), and judgment is made on whether or not the signal SELF obtained by the communication (II) is "1".

Here, when the signal is "1", processing returns to inhibit control by operation of the switches to inhibit controlling by operation of the switches of the camera.

When the signal SELF is not "1", judgment is made on whether or not the card setting switch S_(CDS) has been turned to ON (H-265). When the switch has been turned to ON, in step H-270, judgment made on whether or not the flag CDSF showing that processing has passed herethrough has been set, and if the flag has not been set, this flag is set (H-275), and if the flag has been set, processing proceeds to step H-276 respectively without performing anything. IN step H-276, judgment is made on whether or not data is under setting, and if not under setting, processing jumps to step T-405, and performs display control entering the setting mode. If it is already in setting mode (SETF=1), processing returns without performing display control because operation has been made to release under-data-setting. When the card setting switch S_(CDS) is in the OFF state in step H-265, processing proceeds to step H-280, and judges whether or not the flag CDSF has been set, and when it has not been set, proceeds to step H-310. When it has been set, this is reset (H-285), and judgment is made on whether or not the flag SETF showing that data is under setting has been set in step H-290, and when the flag has been set, this is reset (H-295), and an E² PROM write signal is set to 1 (H-300), and direct addressing=1 is set (H-303), and processing proceeds to step H-310. Thereby, processing releases under-setting.

When the flag SETF showing under-setting has not been set, processing sets this flag (H-305), enters the data setting mode, and proceeds to step H-310. In step H-310, if data is under-setting (SETF=1), processing proceeds to step H-345. In this step H-345, it is judged whether or not the up switch Sup has been turned to ON, and when it has been turned to ON, processing proceeds in a sequence of 1←→2 (H-355). Here, 1 represents a highlight mode and 2 represents a shadow mode.

On completing change in this mode, processing proceeds to step H-405. When the up switch Sup is in the OFF state, it is judged whether or not the down switch Sdn has been turned to ON (H-375), and when it has not been turned to ON processing proceeds to step H-405. The case where it has been turned to ON differs from the case of the above-mentioned up switch Sup only in that the changing direction is reverse, and therefore description thereon is omitted.

On completing processing of the up switch Sup and the down switch Sdn, processing proceeds to step T-405 and the subsequent steps, and performs the following setting: display control=1, release inhibit=1, AF inhibit=1, group specifying=0, and photometric loop repeat=1, and sets data of display of under-data-setting, and returns. In addition, this display of under-setting is described later. Thereby, the micro-computer μC of the camera executes displaying continuously irrespective of display control by the card, release inhibit, AF inhibit and the power holding timer of the camera.

In the above-mentioned step H-310, if judgment is made not to be "under-setting" (SETF=0), processing proceeds to step H-430 in FIG. 78(c), and it is judged whether or not the card switch S_(CD) has been turned to ON is judged, and when the card switch S_(CD) is in the OFF state, in step H-460, this flag CDF is reset, and whether or not the display flag has been set is judged (H-462), and when it has not been set, processing returns. When it has been set, processing proceeds to step H-170, and performs control of display of the card name. In the above-mentioned step H-430, when the card switch S_(CD) is in the ON state, judgment is made on whether or not the flag CDF showing that processing has passed herethrough has been set (H-435), and when it has been set, assuming that the switch is kept operated, processing proceeds to step H-462. When the flag CDF has not been set, this flag is set (H-440), and in the following step H-445, judgment is made on whether or not the card function is in the ON state based on data CS II-1-b₅ at present, and where it is in the ON state (CS II-1-b₅ =1), it is set to OFF (data of CS II -1-b₅) (H-450), and the display flag is reset (H-451), and processing returns. In reverse, where the function is in the OFF state (CS II-1-b₅ =0), it is turned to ON (data of CS II-1-b₅) in step H-455, and the display flag is set in step H-456, and processing proceeds to step H-170, performing control of display of the card name.

Reverting to FIG. 77, when communication is not (I), it is judged in step H-40 whether or not the communication is (II), and when the communication is (II), serial communication is performed ten times (H-50) with the card set as the output side (H-45) to output the above-mentioned set data to the camera and processing sleeps.

When communication is not (II), whether or not the communication is (III) is judged in step H-51, and when the communication is (III), the card is set as the data input side (H-52), serial communication is performed seventeen times (H-53). Further, calculation of ΔTv, ΔAv is performed (H-54), and processing sleeps.

When communication is set (III), whether or not the communication is (IV) is judged in step H-55, and when the communication is (IV), the card is set as the output side (H-60), and it is judged in step H-65 whether or not data is group specifying, and when the data is group specifying, (H-70), address is set, and serial communication is performed nine times (H-75), and processing proceeds to step H-90. When the result is not group specifying (direct addressing), ΔEv change data is addressed (H-80), and serial communication is performed twice (H-85) and processing proceeds to step H-90. In step H-90, it is judged whether or not an E² PROM write signal has been set, and when it has been set, a write control signal is outputted to write one-byte data of the set number in the setting mode to predetermine addresses of the E² PROM (H-95). A write to the E² PROM is performed by a hardware, and the micro-computer μC has only to send a control signal. Then, a write end signal (on completing the write, this signal is set automatically by a hardware configuration) is reset (H-100), and processing sleeps. When the write signal is not inputted, processing sleeps immediately. When the communication is not (IV), assuming that it is the communication (VI), first, whether or not write has been completed is judged by the above-mentioned end signal (H-105), and when write has been completed, a sleep-good signal is set (H-110), and when it has not been completed, a sleep-no signal is set (H-115), and processing proceeds to step H-120 respectively. In step H-120, the card is set as the output side, and serial communication is performed once in response to clock pulses from the camera body (H-125), and processing sleeps.

The above-mentioned calculation control in step H-54 in FIG. 77 is shown in FIGS. 80(a) and 80(b). When the card function is not in the ON state in step H-500 (CS II-1-b₅ =0), or the AE locking switch S_(AEL) is in the OFF state in step H-505, the quantities ΔTv, and ΔAv of adjustment are set to "0" steps H-515, H-520 respectively. Similarly, when the mode is the M mode, processing proceeds to step H-515 and further to step H-520. This is because in the M mode, considering that the values Av, Tv set by the photographer have priority, adjustment based on H/S information is not performed. In step H-525, when the mode is not (I), that is, it is the mode (II) (shadow), processing proceeds the flow shown in FIG. 80(b). When the mode is (I), processing proceeds to highlight control in step H-530 and the subsequent steps.

When the mode is the P mode, the quantity of adjustment is divided between Tv and Av (H-535, H-540). On the other hand, in the case of the A mode, only the shutter speed Tv is adjusted (H-550, H-560), and in the case of the S mode, only the diaphragm aperture value Av is adjusted (H-565, H-570).

Tv is evaluated from the control shutter speed Tvc+the quantity ΔTv, of adjustment (H-575) and judgement is made on whether or not Tv exceeds Tvmax (H-580). When it exceeds Tvmax, ΔAv is evaluated by subtracting the exceeding quantity ΔTv (Tv-Tvmax) from the quantity 2Ev of adjustment (H-590), and processing feeds-back to the diaphragm aperture value and the value Av is evaluated from Avc+ΔAv (H-595). Judgment is made on whether or not this diaphragm aperture value Av exceeds Avmax (H-600), and when it exceeds Avmax, the differences between the limit values of Av, Tv and the control values thereof are respectively set for ΔAv, ΔTv, and adjustment is designed to performed to the utmost. On the other hand, when Av≦Avmax, ΔTv is evaluated from Tvmax-Tvc (H-610).

In step H-580, when Tv≦Tvmax, the diaphragm aperture value Av is evaluated by adding the quantity ΔAv of the adjustment to the control diaphragm aperture value Avc, and further if Av≦Avmax, assuming that the diaphragm aperture value Av and the shutter speed after adjustment do not exceed the respective limits thereof, processing returns. If Av>Avmax, the difference ΔAv between the two values is evaluated from Av, Avmax, and ΔTv is re-evaluated from 2Ev-ΔAv (H-630), and thereafter the shutter speed is evaluated from Tvc+ΔTv. When Tv≦Tvmax holds, ΔAv is evaluated from Avmax-Avc, and on the other hand, when Tv>Tvmax, processing proceeds to H-605.

Next, FIG. 80(b) shows control in the case of shadow. Control in the case of shadow differs from control in the case of highlight only in that adjustment is set on (-) side (under side) and the limit value is Avmin or Tvmin.

FIG. 81 shows the content of display at data setting. In the state of the normal display (a), by turning on the switch S_(CDS), the normal display turns to the display as shown in (b). Subsequently, by turning OFF the switch S_(CDS), the display turns to (c). By turning on the switch S_(CD) in the state of (c), the display turns to (d), and by the next turn-on of the switch S_(CD), the display returns to (c). As described above, every time the switch S_(CD) is turned to ON, (c) and (d) are displayed alternately. Next, when the switch S_(CDS) is turned to ON again, the display returns to the normal display (a).

(9) Portrait card

Next, description is made on operation of the portrait card.

The micro-computer μC₂ of the portrait card executes a routine of resetting as shown in FIG. 82 when this card is attached to the camera body, resets of all of the flags and the registers (RAM) (P-5), and processing sleeps.

Next, when a signal changing from "L" to "H" is sent from the camera body to the terminal CSCD of this card, the micro-computer μC₂ of the portrait card executes a routine of an interrupt as shown in FIG. 83. Here, in synchronism with clock pulses sent from the camera body, serial communication is performed once to input data showing the kind of communication.

The kind is judged (P-20) from the data obtained by this communication, and when the kind is the communication (I), the card is set as the data input side (P-25), and serial communication is performed three times (P-30) to receive data (refer to table 6 and table 20 ) from the camera body. Based on this data, the micro-computer μC₂ executes a subroutine of data setting (P-35), and processing sleeps.

Here, prior to description on the above-mentioned subroutine, description is made on what sorts of data are outputted from the card in response to communication.

In the communication (II),

all signals other than the following signals are set to "0".

    ______________________________________                                         Auxiliary light inhibit (=1)                                                                          CS II-1-b.sub.0                                         FL forced ON (=1)      CS II-1-b.sub.1                                         GN restriction release (=1)                                                                           CS II-1-b.sub.3                                         Card performs display control                                                                         CS II-1-b.sub.4                                         Card function ON/OFF   CS II-1-b.sub.5                                         Blurring warning buzzer EXIST/NO                                                                      CS II-1-b.sub.7                                         P shift inhibit (=1)   CS II-2-b.sub.0                                         Forced P mode          CS II-2-b.sub.1                                         Communication (V) NO (=0)                                                                             CS II-2-b.sub.2                                         AF one-shot (=1)       CS II-2-b.sub.6                                         Forced AF (=1)         CS II-3-b.sub.1                                         Tv, Av/display data    CS II-3-b.sub.3                                         Communication (IV) EXIST (=1)                                                                         CS II-3-b.sub.4                                         Communication (III) EXIST (=1)                                                                        CS II-3-b.sub.5                                         Group specifying (=0)  CS II-3-b.sub.6                                         Photometric loop repeat                                                                               CS II-3-b.sub.7                                         Blurring warning buzzer control (=1)                                                                  CS II-4-b.sub.0                                         ______________________________________                                    

Signals marked with on the table are set to "1" or "0" in response to the respective cases, and the control thereof in put in the ON state at "1", and put in the OFF state at "0". The determined signals are set to "0" or "1" in a fixed manner. In the communication (II), in addition to the above signals, CS II-9-b₁ =1 is set to specify group 1 of the communication (III) in group communication. Since the communication (IV) is of the two data of display and control data, CS II-10-b₁, b₂ =1, 1 is set. The others are set to "0". In addition, any data can be entered in blank spaces on the above-mentioned table. In the communication (VI), a signal of sleep-good is sent. This is because write control to the E² PROM does not exist.

In flowchart shown in FIG. 83, when the communication (I) is performed, the micro-computer μC₂ of the portrait card proceeds to a subroutine of data setting, as similar to the case of other cards.

Next, a subroutine of data setting is shown in FIG. 84(a) to be explained. First, in step P-146 display control data (CS II-1-b₄) is initialized to "0", and processing proceeds to step P-160. In this step P-160, judgment is made on whether or not a signal DISREQ (request of card name display) obtained by the communication (I) is "1", and where the signal is "1", display control data is set to "1" (P-170), card display function (CS II-1-b₅) ON/OFF to ON (l) (P-175). Subsequently, it is judged whether or not the flag S1F has been set (P-200), and where the flag has not been set, assuming that processing passes through this flow for the first time, the flag S1F is set (P-205), and the timer is reset and started (P-210), and processing proceeds to step P-215. When the flag S1F has been set, processing proceeds directly to step P-215. In step P-215, it is judged whether or not 10 seconds has elapsed from the start of the above-mentioned timer, and where 10 seconds has not elapsed, the photometric loop repeat signal (CS II-3-b₇) is set to "1" (P-220), and data performing the card name display and the card mark display is set (P-222), and processing returns. FIG. 85 shows this display. On the other hand, where 10 seconds has elapsed, the photometric loop signal is set to "0", and the flag S1F is reset (P-270), and display control data is set to "0" (P-227), and processing returns.

If DISREQ=0 in the above-mentioned step P-160, processing proceeds to step P-162, and judgment is made on whether or not IP₅ is "L" (that is, any of the switches S_(EM), S_(FUN), S_(CD), S_(CDS) and S₁ is in the ON state), and when IP₅ is "L", the display flag showing control performing card name display is reset (P-163) and processing proceeds to step P-165, and when IP₅ is not "L", processing proceeds to P-165 without performing anything. After resetting the flag S1F in this step P-165, processing proceeds to step P-260 in FIG. 84(b), and judgment is made on whether or not the signal SELF obtained by the communication (II) is "1".

Here, when the signal is "1", processing returns to inhibit control by operation of the switches of the camera (relating to the card). When the signal SELF is not "1", processing proceeds to step P-430 in FIG. 84(c), and it is judged whether or not the card switch S_(CD) has been turned to ON, and when the card switch S_(CD) is in the OFF state, the flag CDF is reset in step P-460, and it is judged whether or not the display flag has been set (P-462), and when it has not been set, processing returns. When it has been set, processing proceeds to step P-170, and performs control of display of the card name. In the above-mentioned step P-430, as shown in FIG. 85, when the card switch S_(CD) is in the ON state, judgment is made on whether or not the flag CDF showing that processing has passed herethrough has been set (P-435), and when it has been set, assuming that the switch is kept operated, processing proceeds to step P-462. When the flag CDF has not been set, this flag is set (P-440), and in the following step P-445, judgment is made on whether or not the card function is in the ON state based on data CS II-1-b₅ at present, and where it is in the ON state (CS II-1-b₅ =1), it is set to OFF (data of CS II-1-b₄) (P-450), and the display flag is reset (P-451), and processing returns. In reverse, where the function is in the OFF state, it is turned to ON (data of CS II-1-b₄) in step P-455, and the display flag is set in step P-456, and processing proceeds to step P-170, performing control of display of the card name.

Reverting to FIG. 83, when communication is not (I), it is judged in step P-40 whether or not the communication is (II), and when the communication is (II), serial communication is performed ten times (P-50) with the card set as the output side (P-45) to output the above-mentioned set data to the camera, and processing sleeps.

When communication is not (II), it is judged in step P-51 whether or not the communication is (III), and when the communication is (III), the card is set as the input side (P-52), and serial communication is performed fifteen times (P-53) to input the data of the camera. In the following step P-54, data for controlling the camera is calculated (including exposure calculation), and processing sleeps. This calculation is described later.

When communication is not (III), it is judged in step P-55 whether or not the communication is (IV), and when the communication is (IV), the card is set as the output side (P-60), and it is judged in step P-65 whether or not data is of display control, and when the data is of display control, display data is outputted (P-70), address is set, and serial communication is performed nine times (P-75), and processing sleeps. When the result is not display control (Tv, Av data), Tv, Av data is addressed (P-80), and serial communication is performed four times (P-85), and processing sleeps.

When the communication is not (IV), assuming that it is the communication (VI), first, the card is set as the output side (P-120), and serial communication is performed once in response to clock pulses from the camera body (P-125), and processing sleeps.

Next, description is made on the above-mentioned calculation control in step P-54 in FIG. 83 in reference to FIGS. 86(a) and 86(b).

In step ○A , the standard value T_(VH) of shutter speed is calculated to sound the blurring warning buzzer.

A lens having a longer focal length is more likely to cause a blurring of the image, and therefore where the focal length is made longer, T_(VH) is made faster.

    T.sub.VH =1.25×(zFz-56)/16+5.875

    zFz=16×log.sub.2 (f/50)+56

(f: focal length of a lens in mm)

In step ○B , as similar to the case of ○A , T_(VH) is evaluated. When f<50 mm, T_(VH) is calculated. This is because a warning is given when Tv becomes extremely slow even in the case of a wide-angle lens.

    T.sub.VH =1.25×(zFz-56)/16+5.875

    zFz=16×log.sub.2 (f/50)+56

(f: focal length of a lens in mm)

In step ○C , T_(VH) is determined by the focal length: T_(VH) is fast at long focal lengths and slow at short focal lengths.

In step ○D , the shutter speed T_(VF) at the bending point of the line diagram at flashlight emitting is set.

When T_(VH) ≦Tvx, the shutter speed T_(VF) at flashlight emitting is set to the lowest shutter speed T_(VH) at which a blurring of the image is not caused. Thereby, exposure by natural light is performed, and the background is exposed beautifully at photographing.

When T_(VH) >Tvx, T_(VF) is set to the synchronizing highest shutter speed Tvx.

In step ○E , when the flash switch is in the OFF state, considering the depth in response to the image magnification β, the diaphragm aperture value Avβ is determined based on β.

    Avx=Avβ=Avo,

if the calculated β is not reliable: AEFLAG b₁ =0. Avβ is determined with the table shown in FIG. 87,

if β is reliable: AEFLAG b₁ =1 and β>1/100. Avβ is determined in step ○F as shown in FIG. 89,

if β is reliable: AEFLAG b₁ =1 and β≦1/100.

In FIG. 87, it is convenient to set each value of β as an address in the memory and to set each value of Avβ as a data for each address. In FIG. 89 for step ○F , there is a reason for determining Avβ without depending β. It is because that it is difficult to distinguish the main subject from the background irrespective of the aperture value.

In step ○F , setting is made as follows;

    ______________________________________                                                  Avo <3    →Avx = 3                                                      3 ≦ Avo <3.5                                                                      →Avx = Avo                                                    3.5 < Avo ≦4                                                                      →Avx = 4                                                      Avo >4    →Avx = Avo                                           ______________________________________                                    

and in the case of a lens having a small open F value, the line of diaphragm aperture is set on a little smaller side and the depth is made a little deeper, and thereby the background is made a little focus-shifting state.

Further, in step ○F , the diaphragm aperture value Evs is evaluated from Bvs+Sv and this value Evs is compared with control limit values. When the diaphragm aperture value Evs exceeds the maximum control value (Avmax and Tvmax), Evs is set to the maximum control value, and when Evs is less than the minimum control value (Avmin+Tvmin), Evs is set to the minimum control value.

In step ○G , the shutter speed Tv at the open F value Avo is evaluated, and when the shutter speed Tv is less than T_(VH), the control shutter speed Tvc is set to Tv and the control diaphragm aperture value Avc is set to Avo, making the shutter speed as fast as possible, and processing proceeds to judgment of blurring. When the calculated shutter speed Tv is not less than T_(VH), Av is calculated from Evs-T_(VH), and when Av<Avx holds, the control diaphragm aperture value Avc is set to Av and the control shutter speed Tvc is set to T_(VH), bringing the control diaphragm aperture value near to the value Avx.

When Av≧Avx, Tv is calculated from Evs-Avx, and when Tv<Tvmax, the control diaphragm aperture value Avc is set to Avx and the control shutter speed Tvc is set to Tv. In reverse, Tv≧Tvmax, the control shutter speed Tvc is set to Tvmax and the control diaphragm aperture value Avc is re-evaluated from Evs-Tvmax. Thereafter, processing proceeds to judgment of blurring respectively. When a blurring occurs, to give a blurring warning, a signal (S II-1-b₇) of the communication (II) is set to 1, and when a blurring does not occur, this signal (S II-1-b₇) is set to 0.

Then, a bit b_(o) of a signal CTRLB of the communication (IV) is set to 0, and flashlight emission is inhibited.

FIG. 88 is a program line diagram relating to Av, Tv thus determined.

In step F-01, when the switch S_(AEL) is operated, the diaphragm aperture value A_(VD) at that time is calculated by

    A.sub.VD =Iv+Sv-Dv

Iv: quantity of light emission (guide number)

Sv: film speed

Dv: apex value replacing the distance from a subject

Next, description is made on routine ○E .

F-02--It is judged whether or not A_(VD) is not less than Avo (open F-value Avo) (A_(VD) ≧Avo).

F-03--When it is not less than Avo a luminance difference ΔBv from the background is evaluated from B_(VA) (luminance of Bv₄)-Bvs (luminance of main subject).

F-04--It is judged whether or not ΔBv≧1/16 Bvs. As the subject becomes brighter, the level of the judgment thereof is made higher, and thereby the light straying from the background to the subject is added. If ΔBv≧1/16 Bvs, processing proceeds to flash control routine ○7 .

F-05--If A_(VD) <Avo (when A_(VD) is less than the open F value) in step F-02, and if ΔBv<1/16 Bvs in step F-04, processing proceeds to this step. Hereinafter, judgment is made on whether or not the exposure value Evs of main subject is less than the low luminance judging level (T_(VH) +Avo-2), and when it is less than this level, flash control routine ○7 is performed. When the exposure value is shifted to the under side by more than 2 steps from the blurring limit shutter speed, assuming that blurring is not permissible, photographing operation using a flashlight is performed.

F-06--If Evs≧T_(VH) +Avo-2, judgment is made on the level of the main subject luminance, and if Bvs<3, assuming that contrast of, for example, a face of a subject itself is likely to become low, exposure by a flashlight as shown in the routine ○7 is performed. While, if Bvs≧3, exposure ○6 by natural light is performed.

Next, description is made on flash control. When the switch S_(AEL) is in the ON state (CS I-1-b₇ =1), judgment is made on whether or not calculation of the switch S_(AEL) ON has been performed at the last time, and when calculation of the switch S_(AEL) has been performed at the last time, processing proceeds to flashlight adjustment calculation using the control diaphragm aperture value Avc and control shutter speed Tvc (F-1 to F-3). Where the switch S_(AEL) is not in the ON state, or where the calculation of the switch S_(AEL) ON has not been performed at the last time, the exposure value E_(VA) is calculated from the background luminance B_(VA) and the film speed Sv (F-4).

When this exposure value E_(VA) is not more than the later shutter speed T_(VF) between the synchronizing speed Tvx and the blurring speed T_(VH) +the open F value Avo, and the main subject exposure values Evs is not more than the above-mentioned shutter speed and T_(VF) +the open F value-2.0, both the background and the main subject are assumed to be dark. Then, judgment is made on whether or not the switch S_(AEL) has been turned to ON (F-7), and when it has not been turned to ON, the control exposure value Evc is calculated from the control diaphragm aperture value Avβ and the shutter speed T_(VF) (F-8), and thereafter processing proceeds to step F-11-1.

When the exposure value E_(VA) of the background satisfies E_(VA) >T_(VF) +Avo, or the main subject exposure value EVS satisfies Evs>T_(VF) +Avo-2, or the switch S_(AEL) is in the ON state, it is judged in step F-9 whether or not ΔBv (B_(VA) -Bvs) is not less than 2.5, and when it is not less than 2.5, assuming the against-the-light state, the exposure control value Evc is set to E_(VA) -1 in step F-11, and the background is over-exposured to be looked like a counterlight condition, and the main subject is exposed properly by a flashlight. When it is less than 2.5, assuming that the camera is not in the against-the-light state, the background is under-exposed by one step, and thereby the background and the main subject are intended to be exposed properly by natural light and the background light. In step F-12, judgment is made on whether or not the shutter speed Tv is not less than the speed T_(VF) (the smaller between T_(VH) and Tvx), and when it is not less than the speed T_(VF), the control shutter speed Tvc is set to the speed T_(VF), and the diaphragm aperture value Av is evaluated from EVS-T_(VF), and it is judged whether or not this diaphragm aperture value Av is not less than A_(VD), and when it is not less than A_(VD), the control diaphragm aperture value Avc is set to A_(VD), and this prevents the main subject from being under-exposed.

If Av<A_(VD), the control diaphragm aperture value Avc is set to Av. Then, the flashlight adjusting level is calculated in the respective cases. If Tv<T_(VF) in step F-12, the control diaphragm aperture value Avc is set to the value Avβ calculated from the image magnification β, and judgment is made on whether or not Tv is not less than the minimum shutter speed Tvmin, and when it is not less than Tvmin, the control shutter speed Tvc is set to Tv, and when it is less than Tvmin, the control shutter speed Tvc is set to Tvmin, and processing proceeds to calculation of the flashlight adjusting level, respectively.

(10) Defocusing card

Next, description is made on operation of the defocusing card.

The defocusing card is a card for obtaining a soft-focusing effect or a zooming effect by means of driving a focusing lens during exposure time.

The micro-computer μC₂ of the defocusing card executes a routine of resetting as shown in FIG. 90 when this card is attached to the camera body, reset all of the flags and the registers (RAM) (F-5), and sleeps.

Next, when a signal changing from "L" to "H" is sent from the camera body to the terminal CSCD of this card, the micro-computer μC₂ of the defocusing card executes an interrupt as shown in FIG. 91. Here, in synchronism with clock pulses sent from the camera body, serial communication is performed once (F-15) to input data showing the kind of communication.

The kind is judged (F-20) from the data obtained by this communication, and when the kind is the communication (I), the card is set as the data input side (F-25), and serial communication is performed three times (F-30) to receive data (refer to table 6 and table 21) from the camera body. Based on this data, the micro-computer μC₂ executes a subroutine of data setting (F-35), and processing sleeps.

Here, prior to description on the above-mentioned subroutine, description is made on what sorts of data are outputted from the card in response to a communication.

In the communication (II),

all signals other than the following signals are set to "0".

    ______________________________________                                         FL forced OFF          CS II-2-b.sub.2                                         Card performs display control                                                                         CS II-1-b.sub.4                                         Card function ON/OFF   CS II-1-b.sub.5                                         Blurring warning buzzer NO (=0)                                                                       CS II-1-b.sub.7                                         P shift inhibit (=1)   CS II-2-b.sub.0                                         Forced P mode (=1)     CS II-2-b.sub.1                                         Communication (V) NO (=0)                                                                             CS II-2-b.sub.2                                         Release inhibit        CS II-2-b.sub.3                                         AF one-shot (=1)       CS II-2-b.sub.6                                         Forced AF (=1)         CS II-3-b.sub.1                                         Tv, Av/display data (=0)                                                                              CS II-3-b.sub.3                                         Communication (IV) EXIST (=1)                                                                         CS II-3-b.sub.4                                         Communication (III) EXIST (=1)                                                                        CS II-3-b.sub.5                                         Group specifying (=0)  CS II-3-b.sub.6                                         Photometric loop repeat                                                                               CS II-3-b.sub.7                                         Blurring warning buzzer control (=1)                                                                  CS II-4-b.sub.0                                         Defocusing (=1)        CS II-4-b.sub.3                                         10 msec extension (=1) CS II-4-b.sub.4                                         ______________________________________                                    

The signal of 10 msec extension is sent for the reason why calculation after the third communication (III) takes a long time.

Signals marks with on the table are set to "1" or "0" in response to the respective cases, and the control thereof is put in the ON state at "1", and put in the OFF state at "0". The determined signals are set to "0" or "1" in a fixed manner. In the communication (II), in addition to the above signals, CS II-9-b₀, b₁, b₂, b₃ =1, 1, 0, 1 is set to specify groups G₁, G₂, G₃ of the communication (III) in group communication is the communication (IV). Since the communication (IV) is of three data of display control data and lens driving data, CS II-10-b₁, b₂, b₃ =1, 1, 1 is set. The others are set to "0".

In addition, any data can be entered in blank spaces on the above-mentioned table.

In the communication (VI), a signal of sleep-good is sent. This is because write control to the E² PROM does not exist.

Next, a subroutine of data setting is shown in FIG. 92(a) to be explained. First, in steps F-146 and F-147, display control data (CS II-1-b₄) is initialized to "0", release inhibit (CS II-2-b₃) to "0", and in step F-160, judgment is made on whether or not a signal DISREQ (request of card name display) obtained by the communication (I) is "1", and where the signal is "1", display control data is set to "1" (F-170), and card display function ON/OFF (CS II-1-b₅) is set to ON (1) (F-175). Subsequently, it is judged in step (F-200) whether or not the flag S1F has been set, and where the flag has not been set, assuming that processing passes through this flow for the first time, the flag S1F is set (F-205), and the timer is reset and started (F-210), and processing proceeds to step F-215. When the flag S1F has been set, processing proceeds directly to step F-215. In step F-215, whether or not 10 seconds has elapsed from the start of the above-mentioned timer is judged, and where 10 seconds has not elapsed, the photometric loop repeat signal (CS II-3-b₇) is set to "1" (F-220), and data performing only the card name display and the card mark display is set (F-222), and processing returns. FIG. 97 shows this display. On the other hand, where 10 seconds has elapsed, the photometric loop repeat signal is set to "0" and the flag S1F is reset (F-226), and display control data is set to "0" (F-227), and processing returns.

If DISREQ=0 in the above-mentioned step F-160, processing proceeds to step F-162, and judgment is made on whether or not IP₅ is "L" (that is, any of the switches S_(EM), S_(FUN), S_(CD), S_(CDS), and S₁ is in the ON state), and when IP₅ is "L", the display flag showing control performing card name display is reset (F-163), and when IP₅ is not "L", processing proceeds to F-165 respectively without performing anything. After resetting the flag S1F in this step F-165, processing proceeds to step F-260 in FIG. 92(b). Here, it is judged whether or not the signal SELF obtained by the communication (II) is "1". Here, when the signal is "1", processing returns to inhibit control by operation of the switches of the camera (relating to the card), and thereafter processing returns. When the signal SELF is not "1", processing proceeds to step F-430 in FIG. 92(c), and whether or not the card switch S_(CD) has been turned to ON is judged, and when the card switch S_(CD) is in the OFF state, in step F-460, the flag CDF is reset, and it is judged in step F-462 whether or not the display flag has been set, and when it has not been set, processing returns. When it has been set, processing proceeds to step F-170, and performs control of display of the card name. In the above-mentioned step F-430, when the card switch S_(CD) is in the ON state, judgment is made on whether or not the flag CDF showing that processing has passed herethrough has been set (F-435), and when it has been set, assuming that the switch is kept operated, processing proceeds to step F-462. When the flag CDF has not been set, this flag is set (F-440), and in the following step F-445, judgment is made on whether or not the card function is in the ON state based on data CS II-1-b₅ at present, and where it is in the ON state (CS II-1-b₅ =1), it is set to OFF (data of the communication II) (F-450), and the display flag is reset (F-451) and processing returns. In reverse, where the function is in the OFF state (CS II-1-b₅ =0), it is turned to ON (data of the communication II) in step F-455, and the display flag is set in step F-450, and processing proceeds to step F-170, performing control of display of the card name as shown in FIG. 97.

Reverting to FIG. 91, when communication is not (I), it is judged in step F-40 whether or not the communication is (II), and when the communication is (II), serial communication is performed ten times (F-50) with the card set as the output side (F-45) to output the above-mentioned set data to the camera body, and processing sleeps.

When communication is not (II), it is judged in step F-51 whether or not the communication is (III), and when the communication is (III), the card is set as the input side (F-52), and serial communication is performed nineteen times (F-53) to input the data of the camera. In the following step F-54, data for controlling the camera is calculated (including exposure calculation), and processing sleeps.

When communication is not (III), it is judged in step F-55 whether or not the communication is (IV), and when the communication is (IV), the card is set as the output side (F-60), and it is judged in step F-65 whether or not data is of display control, and when the data is of display control assuming that display data is outputted (F-70), address is set, and serial communication is performed nine times (F-75), and processing sleeps.

When data is not of display control (Tv.Av data), Tv.Av data is addressed (F-80), and serial communication is performed five times (F-85), and processing sleeps.

When the communication is not (IV), assuming that it is the communication (VI), first, the card is set as the data output side (F-120), and serial communication is performed once in response to clock pulses from the camera body (F-125), and processing sleeps.

Next, description is made on calculation control in step F-54 in FIG. 91 according to FIG. 93.

First, a soft flag and a zoom flag are reset respectively, and in step ○1 ,

    Lpmin=|Lpmax|-|ΔLp|

is evaluated by subtracting the absolute value |ΔLp| of the quantity of move-out of the lens from the present position against ∞ from the absolute value |Lpmax| of the maximum quantity of move-out of the lens inputted from the camera body.

Then, the shutter speed corresponding to the time required for moving out by Lpmin (the time of move-out is 3/4 of the shutter speed (exposure time), and therefore this shutter speed is determined in view of this) is obtained from FIG. 95 showing the time of lapse and the quantity of rotation of the motor (the number of pulses from the encoder) from a start of motor rotation (In addition, FIG. 95 is a ROM table with the number of rotations taken as address). Then, the obtained value is set as T_(VLIMN).

In step ○2 , likewise step ○1 , the time required for moving-in up to ∞ is evaluated from the moving quantity ΔLp from the present lens position to ∞, and this value is set as T_(VLIMF).

In step ○3 ,

Nega--in the case of the negative film, since the latitude is wide, up to 3Ev-over is allowed, and KF showing this is set to 3.

Posi--in the case of the positive film, since the latitude is narrow, KF is set to 0.

In steps ○4 and ○39 through ○41 , the shortest time of the control shutter speed is set to Tv=3 (evaluated from the open F value and the above-mentioned KF), and if Tv>3, no effect is obtained, and therefore processing proceeds to step (A), sets display data, sets release inhibit (=1), prepares display data of only blinking of the card mark, sets display control (=1), and returns.

In step ○5 , the limit values of Tv are determined.

A smaller value of the T_(VLIMN) and T_(VLIMF) is set to Tv, and if Tv≧0, T_(VDOWN) =Tv is set, and if Tv<0, Tv=0 is set (SS=1 sec).

In step ○6 , judgment is made on whether or not Ev≦T_(VDOWN) +Avo+KF holds, and where this holds, if the lens is driven, the lens end is blocked (the front end on the rear end), and no close-up effect is obtainable, and therefore processing proceeds to step (A) also in this case, and performs control of warning and release lock.

In step ○7 , the maximum limit speed Tv=3 is set.

In step ○8 , it is judged whether or not Tv≧T_(VDOWN), this is limit of change of Tv, and processing proceeds to step ○13 (step ○13 is described later), and it is judged whether or not a soft-focusing effect or a zooming effect is obtained.

In step ○9 , K showing the quantity of deviation from a proper exposure is initialzed (K=0).

In step ○10 , judgment is made on whether or not the above-mentioned K is a limit of latitude. When it exceeds the limit (KF=3 in the case of the negative film, and KF=0 in the case of the positive film), the shutter speed Tv is set 0.5Ev-under, and the quantity of defocus obtained in step ○14 is multiplied by about 1.5, and processing proceeds to step ○8 .

In step ○11 , in the case within the range of latitude, the diaphragm aperture value is calculated.

In step ○12 , judgment is made on whether or not the diaphragm aperture value is not more than the maximum diaphragm aperture value, and when it exceeds the maximum diaphragm aperture value, processing proceeds to step ○27 . In step ○27 , 1 is added to K, and processing proceeds to step ○10 . Thereby, the diaphragm aperture value is opened toward the open side within the range of latitude, being set within the maximum diaphragm aperture value.

In step ○13 , when the diaphragm aperture value is not more than the maximum diaphragm aperture value (Av≦Avmax), it is judged whether or not it is not less than the open F value, and when it is smaller than the open F value, processing proceeds to step ○42 , and calculation is performed in a manner that the diaphragm aperture value is controlled to come to the side not less than the open F_(NO) by subtracting 0.5 from Tv.

In step ○14 , the number of rotations (the number of pulses from the encoder) during a time of 3/4 of the shutter speed is shown in FIG. 96. This is obtained from a graph of the number N of rotations versus the shutter speed time (note that this is a ROM table with the shutter speed taken as address). Then, a defocus DF is evaluated by multiplying this value by the value KBL (DF=N×KBL).

In step ○15 , the above-mentioned diaphragm aperture value is changed to F_(NO), and a diameter δ of a circle of confusion is evaluated by DF/F_(NO). Here, changes of DF and F_(NO) with respect to Tv and Av (♭F_(NO)) is such that if Tv changes by 1Ev, the time during which the motor can move is doubled, while if Av changes by 1Ev, F_(NO) changes by √2 times.

In steps ○16 - ○20 , judgment is made on whether or not a zooming effect is obtained. Judgment is made on whether or not the shutter speed Tv obtained in steps ○7 - ○15 is not lens than the longest time (T_(VLIM) far) required for shift-out in the direction of ∞ driven when a zooming effect is shown, and when Tv is less than T_(VLIM) far, assuming that no effect is obtained, processing proceeds to step ○21 .

In step ○17 , when Tv is not less than T_(VLIMF), judgment is made on whether or not the zoom flag showing that the zooming effect is obtained has been already set, and when if has been set, assuming that Tv and Av have been set, processing proceeds to step ○21 . In step ○18 , when the zoom flag has not been set, judgment is made on whether or not the zooming effect is obtained. The zooming effect is caused by a change in the image magnification attending on defocusing. Now, aiming at a point h' (12 mm) of image height in a whole-move-out lens, a change ΔL₁ in image height of this point is expressed by ##EQU6## wherein, X' represents the quantity of move-out of a lens. At this time, if ΔL+δ/2≧2 and ΔL/δ≧3, it is assumed that the zooming effect is obtained. Then, a flag (effective flag) is set or reset in response to the result of the above-mentioned calculation (refer to FIG. 94).

In steps ○18 , ○19 and ○20 , effective flag has been set is judged, when it has been set, the zoom flag is set, and Tv and Av are set to Tvz and Avz respectively, and processing proceeds to step ○21 . When the effective flag has not been set, processing proceeds also to step ○21 .

In step ○21 - ○29 , it is judged whether or not the soft-focus effect is obtained. In step ○21 , judgment is made on whether or not Tv is not less than the longest time (T_(VLIMN)) when the less is moved in the driving direction to give the soft-focusing effect, and when Tv is less than the longest time (T_(VLIMN)), assuming that a further change of Tv is impossible, processing proceeds to step (A). In steps ○21 , ○33 and ○34 , when Tv is not less than T_(VLIMN), judgment is made on whether or not the above-mentioned evaluated δ is not less than 3000μ, and when δ is not less than 3000μ (effect is of a high level), processing proceeds to step (C), and judgment is made on whether or not the value of f/2 F_(NO) is not less than the image height h' (=6 mm), and if it is not less than h' , assuming that the effect is obtained, processing enters a predetermined positive value into ΔLp to drive the lens in the near-side direction, and returns. If it is less than h, processing proceeds to step 42, repeating the flow of steps ○8 and the subsequent steps. After 1 has been added to K in step ○27 as described later by the above procedure, the diaphragm aperture is made open in step ○11 , and thereby F_(NO) is made as small as possible, so that f/2 F (Avo) is made larger.

In step ○22 , judgment is made on whether or not 3000 μm>δ>1500 holds.

In step ○23 , if δ<1500, judgment is made on whether or not the soft flag showing the soft-focusing effect has been already set, and when it has been set processing proceeds to step ○27 . In steps ○24 , ○25 and ○26 , when the soft flag has not been set, judgment is made on whether or not 1500>δ≧800 holds, and if δ falls within the above-mentioned range (effect level, low), the soft flag is set, and Tvs and Avs are set as Tv and Av, and processing proceeds to step ○27 . If δ<800 μm, processing proceeds immediately to step ○27 .

In step ○27 , 1 is added to K to renew K, and processing proceeds to step ○10 . Thereby, the diaphragm aperture is set on the open side within the range of latitude, and as a result, the values of δ and f/2 F are made larger. For the negative film, this effect is not obtainable.

In step ○28 , if 3000 μm>δ≧1500 μm (effect level, medium), judgment is made on whether or not the soft flag showing the soft-focusing effect has not been set, and when it has not been set, processing proceeds to step (C).

In step ○29 , when the flag has been set, judgment is made on whether or not Tv≧2, and if Tv is less than 2, Tv and Av when the effect level is low are used, and processing proceeds to step (C). By this procedure, when the effect is obtained even if small, the shutter speed is not slowed so much. When Tv is not less than 2, processing proceeds to step ○27 . Thereby, the effect level is made higher.

In step ○30 , the flow of (B) is executed, and when the shutter speed cannot be slowed any more, here, first, judgment is made on whether or not the soft flag has been set, and when it has not been set, processing proceeds to step (D).

In step ○31 , when the flag has been set, judgment is made on whether or not f/2 F≧h (=6 mm), and if f/2 F<h, processing proceeds to step (D).

In step ○32 , if f/2 F_(NO) ≧h, Tv and Av are set to Tvs and Avs for the soft-focusing effect, and in step ○33 , the direction of driving the lens is set, and processing returns.

In step ○35 , in this embodiment, the soft-focusing effect is given priority. When no soft-focusing effect is obtained, judgment is made on whether or not the zooming effect is obtained. When no zooming effect is obtained (zoom flag, reset), processing proceeds to step ○39 (description thereon is omitted).

In steps ○36 and ○37 , when the zooming effect is obtained (zoom flag, set), Tv and Av are set to Tvz and Avz for zooming, and the direction of driving the lens is set to the far side (ΔLp becomes a negative value), and processing returns.

In step ○42 , Tv is set 0.5Ev-under to renew Tv. Thereby, the change in the quantity of DF due to lens driving is increased by a half.

Description for each IC card attached to the camera body has been made hereinabove.

An example of RAM map in the camera body is shown on Table 7. In the case of such RAM (including E² PROM) map, when data families MP₁, MP₃ and MP₁₀ of groups G₀, G₁ and G₂ are respectively required in the communication (II), head address and the number of the above-mentioned data families MP₁, MP₃ and MP₁₀ having stored in advance having only to be read in response to a signal if group specifying is set. These are applicable to conventional card systems due to reading of only the predetermined data. However, in the case where a card having another function is introduced anew, that is, for example, data families MP₂ and MP₄, which are not included in the above-mentioned data, are required, they can not be read. In order to read these data in one communication, head addresses and the number of data are required to be directly specified (direct addressing type). However, in this case, jumping-over data (for example, data families of only MP₂ and MP₇) are impossible to be specified, and therefore the whole data of MP₂ through MP₇ have to be specified, which causes memory device and waste of time concerning data transfer. In view of this, in the present embodiment, data transfer is performed efficiently by selecting group specifying or direct addressing as required.

Additionally, it is for the following reason that direct addressing is performed in the present embodiment. The system in which the cards capable of group specifying are introduced into the camera body has already been realized, so that further increase of group specifying has been made impossible.

Consequently, when cards and a camera are simultaneously in the process of design, group specifying becomes possible even for a card of the above-described direct addressing type.

Further, though in the above embodiment, the IC card adds or changes various functions of the camera body, it is possible, of course, to provide a switch on the camera body to add or change such functions in place of the IC card.

Although the present invention has been fully described by way of example with reference to the accompanying drawings, it is to be noted here that various changes and modifications will be apparent to those skilled in the art. Therefore, unless otherwise such changes and modifications depart from the scope of the present invention, they should be construed as being included therein.

                  TABLE 1                                                          ______________________________________                                         Symbols                                                                        of                                                                             switches                                                                              Switches    Functions                                                   ______________________________________                                         S.sub.RE                                                                              Battery     When battery is attached, resets                                   attachment  the micro-computer μC.                                          switch                                                                  S.sub.EM                                                                              Exposure mode                                                                              Changes exposure mode (P,A,M,S)                                    changing    in cooperation with up switch                                      switch      Sup or down switch Sdn.                                     S.sub.FUN                                                                             Function    Changes function in cooperation                                    changing    with up switch Sup or down                                         switch      switch Sdn.                                                 S.sub.CD                                                                              Card function                                                                              Enables/disables card function                                     enable/disable                                                                             when card is attached.                                             switch                                                                  S.sub.CDS                                                                             Card data   Sets/resets data setting mode                                      setting switch                                                                             performing mode change or data                                                 setting when card is attached.                              S.sub.1                                                                               Photographing                                                                              Starts photometry and AF.                                          operation                                                                      preparing                                                                      switch                                                                  S.sub.2                                                                               Release switch                                                                             Starts photographing operation.                             S.sub.WD                                                                              One-frame   Turns ON when one frame of film                                    switch      is wound up.                                                S.sub.AEL                                                                             AE locking  Performs AE lock.                                                  switch                                                                  S.sub.AF/M                                                                            Focus       Changes-over between AF and                                        condition   manual focus condition                                             adjusting mode                                                                             adjustment.                                                        changing-over                                                                  switch                                                                  S.sub.SE                                                                              Change data Selects data to be changed.                                        selecting                                                                      switch                                                                  S.sub.FLM                                                                             Film detecting                                                                             Detects presence or absence of                                     switch      film.                                                       S.sub.RC                                                                              Rear lid close                                                                             Detects close of rear lid.                                         detecting                                                                      switch                                                                  S.sub.RW                                                                              Rewinding   Starts rewinding.                                                  switch                                                                  S.sub.CR                                                                              IC card     OFF when IC card is just                                           attachment  attached.                                                          switch      Applies reset to the micro-                                                    computer of IC card.                                        X      X contact   ON after completing first-                                                     curtain running of shutter.                                                    Operates electric flash                                                        apparatus.                                                  Sup    Up switch   In M mode  Up of shutter speed                                                 Except in  Change-over of                                                      M mode     changing mode,                                                                 Up function                                      Sdn    Down switch In M mode  Down of shutter                                                                speed                                                               Except in  Change-over of                                                      M mode     changing mode,                                                                 Down function                                    S.sub.SELF                                                                            Self mode   ON when self photographing mode                                    swith       is set.                                                     S.sub.AV                                                                              Diaphragm   Changes diaphragm aperture value                                   aperture value                                                                             in cooperation with Sup or Sdn                                     changing    in M mode                                                          switch      (further changes shutter speed                                                 when IC card is attached).                                  ______________________________________                                    

                  TABLE 2                                                          ______________________________________                                          ##STR6##                                                                       ##STR7##                                                                       ##STR8##                                                                       ##STR9##                                                                      ______________________________________                                    

                  TABLE 3                                                          ______________________________________                                         Function Data (Fb.sub.n) RAM                                                   Bits     Contents                                                              ______________________________________                                         Fb.sub.0 b.sub.0 b.sub.1 = 00                                                                       P mode                                                             b.sub.0 b.sub.1 = 01                                                                       A mode                                                             b.sub.0 b.sub.1 = 10                                                                       M mode                                                    Fb.sub.1 b.sub.0 b.sub.1 = 11                                                                       S mode                                                    Fb.sub.2 b.sub.2 = 0 Multi-spot mode                                                    b.sub.2 = 1 Spot mode                                                 Fb.sub.3 b.sub.3 = 0 Single-frame advancing mode                                        b.sub.3 = 1 Continuous advancing mode                                 Fb.sub.4 b.sub.4 b.sub.5 = 0,0                                                                      No adjustment                                                      b.sub.4 b.sub.5 = 0,1                                                                      + adjustment                                              Fb.sub.5 b.sub.4 b.sub.5 = 1,0                                                                      - adjustment                                              Fb.sub.8 b.sub.8 = 0 One-shot AF                                                        b.sub.8 = 1 Continuous AF                                             Fb.sub.9 b.sub.0 b.sub.1 = 0,0                                                                      +/- function                                                       b.sub.0 b.sub.1 = 0,1                                                                      S/C function                                              Fb.sub.10                                                                               b.sub.0 b.sub.1 = 1,0                                                                      S/A function                                              Fb.sub.12                                                                               b.sub.12 = 0                                                                               Multi-spot photometry (Auto)                                       b.sub.12 = 1                                                                               Spot photometry                                           Fb.sub.13                                                                               b.sub.13 = 0                                                                               Auxiliary light mode                                               b.sub.13 = 1                                                                               Not Auxiliary light mode                                  Fb.sub.14                                                                               b.sub.14 = 0                                                                               Focus lock by S.sub.Q ON Absence                                   b.sub.14 = 1                                                                               Focus lock by S.sub.Q ON Presence                         Fb.sub.15                                                                               b.sub.15 = 0                                                                               Spot AF before S.sub.Q ON                                          b.sub.15 = 1                                                                               Multi-spot AF before S.sub.Q ON                           ______________________________________                                    

                                      TABLE 4                                      __________________________________________________________________________     Group (III)                                                                     ##STR10##                                                                      ##STR11##                                                                      ##STR12##                                                                      ##STR13##                                                                      ##STR14##                                                                      ##STR15##                                                                      ##STR16##                                                                      ##STR17##                                                                      ##STR18##                                                                      ##STR19##                                                                     __________________________________________________________________________

                                      TABLE 5                                      __________________________________________________________________________      ##STR20##                                                                      ##STR21##                                                                      ##STR22##                                                                      ##STR23##                                                                      ##STR24##                                                                      ##STR25##                                                                      ##STR26##                                                                      ##STR27##                                                                      ##STR28##                                                                      ##STR29##                                                                      ##STR30##                                                                      ##STR31##                                                                      ##STR32##                                                                     __________________________________________________________________________

                                      TABLE 6                                      __________________________________________________________________________     Data Contents in Data Communications between Camera body and IC cards           ##STR33##                                                                      ##STR34##                                                                      ##STR35##                                                                      ##STR36##                                                                      ##STR37##                                                                      ##STR38##                                                                      ##STR39##                                                                      ##STR40##                                                                      ##STR41##                                                                      ##STR42##                                                                      ##STR43##                                                                      ##STR44##                                                                      ##STR45##                                                                      ##STR46##                                                                      ##STR47##                                                                      ##STR48##                                                                      ##STR49##                                                                     __________________________________________________________________________

                  TABLE 7                                                          ______________________________________                                                  ##STR50##                                                                      ##STR51##                                                                      ##STR52##                                                             ______________________________________                                    

                  TABLE 8                                                          ______________________________________                                         Main Flags                                                                     Flags  Contents                                                                ______________________________________                                         BATF   F = 1   Flow of initialization of battery                                              attachment has been passed through once                                F = 0   After initialization of battery                                                attachment, switch has been operated                                           once or predetermined processing has                                           been finished without performing                                               anything.                                                       OPF    F = 1   Any of switches S.sub.EM,S.sub.FUN,S.sub.CD,S.sub.CDS,S.sub                    .O                                                                             is in ON state.                                                        F = 0   All of the above-mentioned five                                                switches are in OFF state.                                      AELF   F = 1   AE lock function is turned to ON.                                      F = 0   AE lock function is turned to OFF.                              SETF   F = 1   IC card is attached and data setting                                           mode is set.                                                           F = 0   IC card is attached and data setting                                           mode is not set.                                                AFNF   F = 1   AF can not be performed.                                               F = 0   AF can be performed.                                            AF1F   F = 1   Quantity of DF of first island is set                                          as quantity of DF for lens driving.                                    F = 0   Quantity of DF of first island is not                                          set as quantity of DF for lens driving.                         AF2F   F = 1   Quantity of DF of second island is set                                         as quantity of DF for lens driving.                                    F = 0   Quantity of DF of second island is not                                         set as quantity of DF for lens driving.                         AF3F   F = 1   Quantity of DF of third island is set                                          as quantity of DF for lens driving.                                    F = 0   Quantity of DF of third island is not                                          set as quantity of DF for lens driving.                         AFEF   F = 1   Infocus state                                                          F = 0   Out of focus state                                              CDF    F = 1   When card function enable/disable switch                                       S.sub.CD is in ON state, flow of S.sub.SD ON has                               been executed once.                                                    F = 0   When CDF = 1, flow of S.sub.CD OFF has been                                    executed.                                                       CDFNF  F = 1   Card function is enabled.                                              F = 0   Card function is disabled.                                      CDSF   F = 1   Card data setting switch S.sub.CDS has been                                    operated and flow of S.sub.CD ON has been                                      executed once, but flow of S.sub.CD OFF has                                    not been executed.                                                     F = 0   In data setting mode, flow of S.sub.CD OFF                                     has been executed.                                              AEONF  F = 1   AE locking switch S.sub.AEL has been                                           operated, and flow of step #1705 and                                           the subsequent steps has been executed                                         once.                                                                  F = 0   AE locking switch is turned to OFF.                             CDIF   F = 1   Flow of steps from #2710 to #2720 has                                          been passed through once.                                              F = 0   Flow of steps from #2710 to #2720 has                                          never been passed through.                                      DISP1F F = 1   When card function is added (by S.sub.CD ON),                                  display is performed for a certain time.                               F = 0   The above-mentioned display for a                                              certain time is not performed.                                  WRTF   F =  1  Data is written to E.sup.2 PROM.                                       F = 0   Data is not written to E.sup.2 PROM.                            CHGF   F = 1   Changeable function mode NO                                            F = 0   Changeable function mode EXIST                                  LCONF  F = 1   Focus condition detectien is impossible.                               F = 0   Focus condition detection is possible.                          AFE1F  F = 1   Flow of follow mode is executed for the                                        first time after focusing.                                             F = 0   It is not for the first time that flow                                         of follow mode is executed after                                               focusing.                                                       S.sub.1 ONF                                                                           F = 1   S.sub.1 is in ON state.                                                F = 0   S.sub.1 is in OFF state.                                        Follow F = 1   Follow mode                                                     F      F = 0   NO-Follow mode                                                  MFF    F = 1   Manual mode, Focus lock                                                F = 0   AF mode                                                         SQONF  F = 1   S.sub.Q is in ON state.                                                F = 0   S.sub.Q is in OFF state.                                        Follow F = 1   Follow mode is inhibited.                                       mode   F = 0   Follow mode is permitted.                                       inhibit                                                                        ______________________________________                                    

                  TABLE 9                                                          ______________________________________                                         Lens (I)                                                                       Addresses                                                                      (8 bits)      Information (Contents of ROM)                                    ______________________________________                                                    00.sub.H   Lens attachment signal                                              X X X 00001                                                                               Open F value (Avo) of lens                                          X X X 00010                                                                               Maximum F value (Avmax) of lens                                     03.sub.H   Moving amount (REVmax) from ∞                                            to near                                                  (A)        X X X 00100                                                                               Focal length information                                            X X X 00101                                                                               (Lens drive quantity/Defocus quantity)                                         Converting coefficient K                                            06.sub.H   S.sub.Q                                                                             b.sub.0 = 0 (OFF)                                                                         b.sub.1 -b.sub.7 = 0                                07.sub.H   LOK  b.sub.0 = 1 . . . OK                                                                      b.sub.1 -b.sub.7 = 0                                10.sub.H   Lens attachment signal                                              X X X 10001                                                                               Open F value (Avo) of lens                                          X X X 10010                                                                               Maximum F value (Avmax) of lens                                     X X X 10011                                                                               Moving amount (REVmax) from ∞                                            to near                                                  (B)        X X X 00100                                                                               Focal length information                                            X X X 00101                                                                               (Lens drive quantity/Defocus quantity)                                         Converting coefficient K                                            16.sub.H   S.sub.Q                                                                             b.sub.0 = 1 (ON)                                                                          b.sub.1 -b.sub.7 = 0                                17.sub.H   LOK  b.sub.0 = 0 . . . NO                                                                      b.sub.1 -b.sub.7 = 0                     ______________________________________                                    

                  TABLE 10                                                         ______________________________________                                         Lens (II)                                                                      Addresses                                                                      (8 bits)    Information (Contents of ROM)                                      ______________________________________                                         00.sub.H    Lens attachment signal                                             X X X 00001 Open aperture value (Avo) of lens                                  X X X 00010 Maximum aperture value (Avmax) of lens                             03.sub.H    Moving amount (REVmax) from ∞ to near                        X X X 00100 Focal length information                                           X X X 00101 (Lens drive quantity/Defocus quantity)                                         Converting coefficient K                                           06.sub.H    S.sub.Q  b.sub.0 = 0 (OFF)                                                                           b.sub.1 -b.sub.7 = 0                         07.sub.H    LOK      b.sub.0 = 0 . . . NO                                                                        b.sub.1 -b.sub.7 = 0                         08.sub.H    S.sub.Q  b.sub.0 = 1 (ON)                                                                            b.sub.1 -b.sub.7 = 0                         09.sub.H    LOK      b.sub.0 = 1 . . . OK                                                                        b.sub.1 -b.sub.7 = 0                         ______________________________________                                    

                  TABLE 11                                                         ______________________________________                                         Lens Information in Camera Body                                                Addresses                                                                      in Camera                                                                      Body       Lens information (1 byte)                                           ______________________________________                                         Bd1        Lens attachment EXIST/NO                                            Bd2        Open aperture value (Avo) of lens                                   Bd3        Maximum diaphragm aperture value                                               (Avmax) of lens                                                     Bd4        Moving amount (REVmax) from ∞ to near                         Bd5        Focal length information                                            Bd6        (Lens drive quantity/Defocus quantity)                                         Converting coefficient K                                            Bd7        S.sub.Q                                                                               b.sub.0 = 0 . . . S.sub.Q OFF                                                                (b.sub.1 -b.sub.7 missing)                                S.sub.Q                                                                               b.sub.0 = 1 . . . S.sub.Q ON                                 Bd8        LOK    b.sub.0 = 0 . . . NO                                                                         (b.sub.1 -b.sub.7 missing)                                LOK    b.sub.0 = 1 . . . OK                                         ______________________________________                                    

                                      TABLE 12                                     __________________________________________________________________________     Custom Card                                                                     ##STR53##                                                                      ##STR54##                                                                      ##STR55##                                                                      ##STR56##                                                                      ##STR57##                                                                      ##STR58##                                                                      ##STR59##                                                                      ##STR60##                                                                      ##STR61##                                                                      ##STR62##                                                                      ##STR63##                                                                      ##STR64##                                                                      ##STR65##                                                                      ##STR66##                                                                      ##STR67##                                                                      ##STR68##                                                                      ##STR69##                                                                     __________________________________________________________________________

                                      TABLE 13                                     __________________________________________________________________________     Data memory Card                                                                ##STR70##                                                                      ##STR71##                                                                      ##STR72##                                                                      ##STR73##                                                                      ##STR74##                                                                      ##STR75##                                                                      ##STR76##                                                                      ##STR77##                                                                      ##STR78##                                                                      ##STR79##                                                                      ##STR80##                                                                      ##STR81##                                                                      ##STR82##                                                                      ##STR83##                                                                      ##STR84##                                                                      ##STR85##                                                                      ##STR86##                                                                     __________________________________________________________________________

                                      TABLE 14                                     __________________________________________________________________________     Sports Card                                                                     ##STR87##                                                                      ##STR88##                                                                      ##STR89##                                                                      ##STR90##                                                                      ##STR91##                                                                      ##STR92##                                                                      ##STR93##                                                                      ##STR94##                                                                      ##STR95##                                                                      ##STR96##                                                                      ##STR97##                                                                      ##STR98##                                                                      ##STR99##                                                                      ##STR100##                                                                     ##STR101##                                                                     ##STR102##                                                                     ##STR103##                                                                    __________________________________________________________________________

                                      TABLE 15                                     __________________________________________________________________________     Auto depth Card                                                                 ##STR104##                                                                     ##STR105##                                                                     ##STR106##                                                                     ##STR107##                                                                     ##STR108##                                                                     ##STR109##                                                                     ##STR110##                                                                     ##STR111##                                                                     ##STR112##                                                                     ##STR113##                                                                     ##STR114##                                                                     ##STR115##                                                                     ##STR116##                                                                     ##STR117##                                                                     ##STR118##                                                                     ##STR119##                                                                     ##STR120##                                                                    __________________________________________________________________________

                                      TABLE 16                                     __________________________________________________________________________     Bracket Card                                                                    ##STR121##                                                                     ##STR122##                                                                     ##STR123##                                                                     ##STR124##                                                                     ##STR125##                                                                     ##STR126##                                                                     ##STR127##                                                                     ##STR128##                                                                     ##STR129##                                                                     ##STR130##                                                                     ##STR131##                                                                     ##STR132##                                                                     ##STR133##                                                                     ##STR134##                                                                     ##STR135##                                                                     ##STR136##                                                                     ##STR137##                                                                    __________________________________________________________________________

                                      TABLE 17                                     __________________________________________________________________________     Close-up Card                                                                   ##STR138##                                                                     ##STR139##                                                                     ##STR140##                                                                     ##STR141##                                                                     ##STR142##                                                                     ##STR143##                                                                     ##STR144##                                                                     ##STR145##                                                                     ##STR146##                                                                     ##STR147##                                                                     ##STR148##                                                                     ##STR149##                                                                     ##STR150##                                                                     ##STR151##                                                                     ##STR152##                                                                     ##STR153##                                                                     ##STR154##                                                                    __________________________________________________________________________

                                      TABLE 18                                     __________________________________________________________________________     Auto shift Card                                                                 ##STR155##                                                                     ##STR156##                                                                     ##STR157##                                                                     ##STR158##                                                                     ##STR159##                                                                     ##STR160##                                                                     ##STR161##                                                                     ##STR162##                                                                     ##STR163##                                                                     ##STR164##                                                                     ##STR165##                                                                     ##STR166##                                                                     ##STR167##                                                                     ##STR168##                                                                     ##STR169##                                                                     ##STR170##                                                                     ##STR171##                                                                    __________________________________________________________________________

                                      TABLE 19                                     __________________________________________________________________________     H/S Card                                                                        ##STR172##                                                                     ##STR173##                                                                     ##STR174##                                                                     ##STR175##                                                                     ##STR176##                                                                     ##STR177##                                                                     ##STR178##                                                                     ##STR179##                                                                     ##STR180##                                                                     ##STR181##                                                                     ##STR182##                                                                     ##STR183##                                                                     ##STR184##                                                                     ##STR185##                                                                     ##STR186##                                                                     ##STR187##                                                                     ##STR188##                                                                    __________________________________________________________________________

                                      TABLE 20                                     __________________________________________________________________________     Portrait Card                                                                   ##STR189##                                                                     ##STR190##                                                                     ##STR191##                                                                     ##STR192##                                                                     ##STR193##                                                                     ##STR194##                                                                     ##STR195##                                                                     ##STR196##                                                                     ##STR197##                                                                     ##STR198##                                                                     ##STR199##                                                                     ##STR200##                                                                     ##STR201##                                                                     ##STR202##                                                                     ##STR203##                                                                     ##STR204##                                                                     ##STR205##                                                                    __________________________________________________________________________

                                      TABLE 21                                     __________________________________________________________________________     Defocusing Card                                                                 ##STR206##                                                                     ##STR207##                                                                     ##STR208##                                                                     ##STR209##                                                                     ##STR210##                                                                     ##STR211##                                                                     ##STR212##                                                                     ##STR213##                                                                     ##STR214##                                                                     ##STR215##                                                                     ##STR216##                                                                     ##STR217##                                                                     ##STR218##                                                                     ##STR219##                                                                     ##STR220##                                                                     ##STR221##                                                                     ##STR222##                                                                    __________________________________________________________________________ 

What is claimed is:
 1. Camera system, comprising:means for measuring brightness of a photographic scene to send a brightness value; a plurality of exposure lines in which each exposure line selects a combination of an aperture value and a shutter speed value at each brightness value; means for choosing one of the exposure lines; an operable member; means for driving a film in either of a first film driving mode in which the film is wound by only one frame in response to the operation of the operable member and a second film driving mode in which the film is wound frame by frame continuously as long as the operable member is operated; and first selecting means for selecting one film driving mode from the first and second film driving modes is accordance with the exposure line chosen by the choosing means.
 2. The camera system of claim 1, further comprising:means for repeatedly detecting focus condition of a photographic lens; means for driving the photographic lens based on the focus condition detected by the detecting means in either of a first lens driving mode in which the photographic lens driving is inhibited after said detecting means once detects infocus condition of the photographic lens and a second lens driving mode in which the operation of the lens driving means is continued even if said detecting means detects infocus condition of the photographic lens; and second selecting means for selecting one mode from the first and second lens driving modes in accordance with the exposure line chosen by the choosing means.
 3. The camera system of claim 1, wherein said measuring means includes:first measuring means for measuring brightness with respect to a portion of the photographic scene; second measuring means for measuring brightness with respect to another portion of the photographic scene;and the camera system further comprising third selecting means for selecting in accordance with the exposure line chosen by the choosing means one of the first and the second measuring means.
 4. Camera system, comprising:first measuring means for measuring brightness value with respect to a first portion of a photographic scene to send a first signal; second measuring means for measuring brightness value with respect to a second portion of the photographic scene to send a second signal; means for calculating a brightness value in either of a first light measuring mode in which the brightness is calculated with using the first signal and a second light measuring mode in which the brightness is calculated with using both the first signal and the second signal; means for driving the photographic lens based on the focus condition detected by the detecting means in either of a first lens driving mode in which the photographic lens driving is inhibited after said detecting means once detects infocus condition of the photographic lens and a second lens driving mode in which the operation of the lens driving means is continued even if said detecting means detects infocus condition of the photographic lens; a plurality of exposure lines in which each exposure line selects a combination of an aperture value and a shutter speed value at each brightness value; means for choosing one of the exposure lines; first selecting means for selecting one measuring mode from the first and second light measuring modes; second selecting means for selecting one lens driving mode from the first and second lens driving modes; and means for controlling both the first and second selecting means in accordance with the exposure line chosen by the choosing means.
 5. The camera system of claim 4, wherein said first portion for the first light measuring mode is the center portion of the photographic scene.
 6. The camera system of claim 5, wherein said exposure lines include a macro-photography exposure line which is prepared for taking a macro-photograph, and said controlling means controls the first selecting means to select the first light measuring mode and controls the second selecting means to select the first lens driving mode when the choosing means chooses the macro-photography exposure line, whereby said calculating means calculates the brightness value in the first light measuring mode and the photographic lens is driven in the first lens driving mode. 